Repository navigation
|
Hello, I'm using this with neovim. I use multiple SQL dialects, which lead me to the following situation: sometimes I'm working on a directory that does not use Postgres and the server starts anyway. From what I can tell, the server is not really useful in this scenario, so perhaps it shouldn't be started at all? Please, let me know if that's not the case. The server attaches because the default neovim configuration does not enable So, my question is: should the server attach to "single files" (i.e., even if a I traced down the original commit that initially set |
Replies: 1 comment 1 reply
|
nvim-lspconfig changed the preset to |
nvim-lspconfig changed the preset to
workspace_required = truewithpostgres-language-server.jsoncas root marker (neovim/nvim-lspconfig#4220). So the server attaches only when that file exists in the file's directory or a parent; runpostgres-language-server initin your project.