aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lua/lspconfig/server_configurations/sumneko_lua.lua3
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 c2181670..f4763638 100644
--- a/lua/lspconfig/server_configurations/sumneko_lua.lua
+++ b/lua/lspconfig/server_configurations/sumneko_lua.lua
@@ -6,6 +6,7 @@ local root_files = {
'.stylua.toml',
'stylua.toml',
'selene.toml',
+ 'selene.yml',
}
local bin_name = 'lua-language-server'
@@ -79,7 +80,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", ".git")]],
+ root_dir = [[root_pattern(".luarc.json", ".luacheckrc", ".stylua.toml", "stylua.toml", "selene.toml", "selene.yml", ".git")]],
},
},
}