aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorMichael Manganiello <adamantike@users.noreply.github.com>2025-03-29 12:18:55 -0300
committerGitHub <noreply@github.com>2025-03-29 08:18:55 -0700
commit96670b39e4f2ab75cc65df6b25085ef183920dfc (patch)
treeba3b1c8e3c024a56fc145bbecf8b86b1bdb22833 /lua
parentfix: ":checkhealth lspconfig" fails on Nvim 0.11 #3668 (diff)
downloadnvim-lspconfig-96670b39e4f2ab75cc65df6b25085ef183920dfc.tar
nvim-lspconfig-96670b39e4f2ab75cc65df6b25085ef183920dfc.tar.gz
nvim-lspconfig-96670b39e4f2ab75cc65df6b25085ef183920dfc.tar.bz2
nvim-lspconfig-96670b39e4f2ab75cc65df6b25085ef183920dfc.tar.lz
nvim-lspconfig-96670b39e4f2ab75cc65df6b25085ef183920dfc.tar.xz
nvim-lspconfig-96670b39e4f2ab75cc65df6b25085ef183920dfc.tar.zst
nvim-lspconfig-96670b39e4f2ab75cc65df6b25085ef183920dfc.zip
fix(postgres_lsp): re-enable single file support #3673
Do not require a `postgrestools.jsonc` file in the root directory for single file support. Fixes #3672.
Diffstat (limited to 'lua')
-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 5ed4ddd5..e177a5fd 100644
--- a/lua/lspconfig/configs/postgres_lsp.lua
+++ b/lua/lspconfig/configs/postgres_lsp.lua
@@ -5,7 +5,7 @@ return {
'sql',
},
root_dir = vim.fs.root(0, { 'postgrestools.jsonc' }),
- single_file_support = false,
+ single_file_support = true,
},
docs = {
description = [[