Repository navigation
Can't get postgres_lsp for nvim to work #619
|
I install it from Mason, but it doesn't attach |
Replies: 3 comments 3 replies
|
Hey! How does your config look like? |
|
I'm experiencing the same issue,The Windows binaries in the GitHub releases don't have the However, Even after manually adding the extension, the LSP stilll not effect with the standard config and |
|
The Windows release assets ship with the |
The Windows release assets ship with the
.exesuffix now, and the Mason packagepostgres-language-serveruses them. Please:MasonInstall postgres-language-server(not the oldpostgrestools) and update nvim-lspconfig. Itspostgres_lspconfig runspostgres-language-server lsp-proxyand setsworkspace_required = true, so the server only attaches when apostgres-language-server.jsoncexists in the file's directory or a parent; runpostgres-language-server initin your project if you don't have one. If it still doesn't attach, check:checkhealth vim.lsp.