nix-config/home/modules/nvim/config/lsp/lua_ls.lua

16 lines
323 B
Lua

return {
cmd = { 'lua-language-server' },
filetypes = { 'lua' },
root_markers = {
'.luarc.json',
'.luarc.jsonc',
'.luacheckrc',
'.stylua.toml',
'stylua.toml',
'selene.toml',
'selene.yml',
'.git',
},
single_file_support = true,
log_level = vim.lsp.protocol.MessageType.Warning,
}