initial commit
This commit is contained in:
commit
6491e91ec5
37 changed files with 1116 additions and 0 deletions
27
nvim/lua/lsp/lua_ls.lua
Normal file
27
nvim/lua/lsp/lua_ls.lua
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
return {
|
||||
cmd = { "lua-language-server" },
|
||||
filetypes = { "lua" },
|
||||
root_markers = {
|
||||
".lua",
|
||||
".emmyrc.json",
|
||||
".luarc.json",
|
||||
".luarc.jsonc",
|
||||
".luacheckrc",
|
||||
".stylua.toml",
|
||||
"stylua.toml",
|
||||
"selene.toml",
|
||||
"selene.yml",
|
||||
".git",
|
||||
},
|
||||
settings = {
|
||||
Lua = {
|
||||
codeLens = {
|
||||
enable = true,
|
||||
},
|
||||
hint = {
|
||||
enable = true,
|
||||
semicolon = "Disable",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue