From aafaef18a6196b6fcdddd8e4f2df4942573bcdfe Mon Sep 17 00:00:00 2001 From: Grant Foster <20465275+grantfoster@users.noreply.github.com> Date: Mon, 3 Mar 2025 04:37:28 -0500 Subject: 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. --- lua/lspconfig/configs/postgres_lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/lspconfig/configs/postgres_lsp.lua b/lua/lspconfig/configs/postgres_lsp.lua index f74ee673..0c41307b 100644 --- a/lua/lspconfig/configs/postgres_lsp.lua +++ b/lua/lspconfig/configs/postgres_lsp.lua @@ -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, -- cgit v1.2.3-70-g09d2