We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c12ee5 commit 9aa06adCopy full SHA for 9aa06ad
plugins/lsp.lua
@@ -165,21 +165,19 @@ return function()
165
postgres_lsp = {
166
capabilities = {
167
workspace = {
168
- -- I don't think pgt supports configuration through this notification.
169
didChangeConfiguration = { dynamicRegistration = true },
170
},
171
172
cmd = { "postgrestools", "lsp-proxy" },
173
filetypes = { "sql" },
174
single_file_support = true,
175
- -- I also don't think it supports InitializeParams yet.
176
- -- settings = {
177
- -- postgres_lsp = {
178
- -- db = {
179
- -- database = "dev",
180
- -- },
181
182
+ settings = {
+ db = {
+ username = vim.env.USER,
+ password = vim.env.USER,
+ database = "dev",
+ },
183
184
prismals = {
185
0 commit comments