fix(postgresql_lsp): update command to use lsp-proxy argument (#3636)

Problem:
The current command "postgresql_lsp" doesn't work as expected because
the server requires the "lsp-proxy" argument to function properly.

Solution:
Update the cmd to use ("postgresql_lsp", "lsp-proxy") to correctly
invoke the language server with its required arguments.
This commit is contained in:
Grant Foster 2025-03-03 04:37:28 -05:00 committed by GitHub
parent 8e8fd432f0
commit aafaef18a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@ local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'postgres_lsp' },
cmd = { 'postgres_lsp', 'lsp-proxy' },
filetypes = { 'sql' },
root_dir = util.root_pattern 'root-file.txt',
single_file_support = true,