We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00dae9f commit a331586Copy full SHA for a331586
doc/configs.md
@@ -5998,7 +5998,7 @@ require'lspconfig'.lua_ls.setup {
5998
on_init = function(client)
5999
if client.workspace_folders then
6000
local path = client.workspace_folders[1].name
6001
- if vim.loop.fs_stat(path..'/.luarc.json') or vim.loop.fs_stat(path..'/.luarc.jsonc') then
+ if path ~= vim.fn.stdpath('config') and (vim.loop.fs_stat(path..'/.luarc.json') or vim.loop.fs_stat(path..'/.luarc.jsonc')) then
6002
return
6003
end
6004
0 commit comments