Adds configuration and packages for lsp
This commit is contained in:
parent
e80172efaf
commit
89eab258b0
9 changed files with 224 additions and 4 deletions
16
home/modules/nvim/config/lsp/lua_ls.lua
Normal file
16
home/modules/nvim/config/lsp/lua_ls.lua
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
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,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue