aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Foster <20465275+grantfoster@users.noreply.github.com>2025-03-03 04:37:28 -0500
committerGitHub <noreply@github.com>2025-03-03 17:37:28 +0800
commitaafaef18a6196b6fcdddd8e4f2df4942573bcdfe (patch)
treeddfc7ae7183555e1998a343b22922720db4d1c4d
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-aafaef18a6196b6fcdddd8e4f2df4942573bcdfe.tar
nvim-lspconfig-aafaef18a6196b6fcdddd8e4f2df4942573bcdfe.tar.gz
nvim-lspconfig-aafaef18a6196b6fcdddd8e4f2df4942573bcdfe.tar.bz2
nvim-lspconfig-aafaef18a6196b6fcdddd8e4f2df4942573bcdfe.tar.lz
nvim-lspconfig-aafaef18a6196b6fcdddd8e4f2df4942573bcdfe.tar.xz
nvim-lspconfig-aafaef18a6196b6fcdddd8e4f2df4942573bcdfe.tar.zst
nvim-lspconfig-aafaef18a6196b6fcdddd8e4f2df4942573bcdfe.zip
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.
-rw-r--r--lua/lspconfig/configs/postgres_lsp.lua2
1 files changed, 1 insertions, 1 deletions
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,