diff options
| author | figsoda <figsoda@pm.me> | 2022-11-18 20:11:02 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-19 09:11:02 +0800 |
| commit | 23259760d11b27cfa040e8ae361664c634b55f8d (patch) | |
| tree | 01ba914d1ff3ba22c5de7bfe9a8dd7395a4dce98 /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-23259760d11b27cfa040e8ae361664c634b55f8d.tar nvim-lspconfig-23259760d11b27cfa040e8ae361664c634b55f8d.tar.gz nvim-lspconfig-23259760d11b27cfa040e8ae361664c634b55f8d.tar.bz2 nvim-lspconfig-23259760d11b27cfa040e8ae361664c634b55f8d.tar.lz nvim-lspconfig-23259760d11b27cfa040e8ae361664c634b55f8d.tar.xz nvim-lspconfig-23259760d11b27cfa040e8ae361664c634b55f8d.tar.zst nvim-lspconfig-23259760d11b27cfa040e8ae361664c634b55f8d.zip | |
fix(sumneko_lua): add .luarc.jsonc to root pattern (#2245)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/sumneko_lua.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/lspconfig/server_configurations/sumneko_lua.lua b/lua/lspconfig/server_configurations/sumneko_lua.lua index f4763638..e0063d9d 100644 --- a/lua/lspconfig/server_configurations/sumneko_lua.lua +++ b/lua/lspconfig/server_configurations/sumneko_lua.lua @@ -2,6 +2,7 @@ local util = require 'lspconfig.util' local root_files = { '.luarc.json', + '.luarc.jsonc', '.luacheckrc', '.stylua.toml', 'stylua.toml', @@ -80,7 +81,7 @@ See `lua-language-server`'s [documentation](https://github.com/sumneko/lua-langu ]], default_config = { - root_dir = [[root_pattern(".luarc.json", ".luacheckrc", ".stylua.toml", "stylua.toml", "selene.toml", "selene.yml", ".git")]], + root_dir = [[root_pattern(".luarc.json", ".luarc.jsonc", ".luacheckrc", ".stylua.toml", "stylua.toml", "selene.toml", "selene.yml", ".git")]], }, }, } |
