init
This commit is contained in:
6
lsp/json_ls.lua
Normal file
6
lsp/json_ls.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
cmd = { 'vscode-json-language-server', '--stdio' },
|
||||
filetypes = { 'json', 'jsonc' },
|
||||
init_options = { provideFormatter = true },
|
||||
root_markers = { '.git' },
|
||||
}
|
||||
14
lsp/lua_ls.lua
Normal file
14
lsp/lua_ls.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
return {
|
||||
cmd = { "lua-language-server" },
|
||||
filetypes = { "lua" },
|
||||
root_markers = {
|
||||
".luarc.json",
|
||||
".luarc.jsonc",
|
||||
".luacheckrc",
|
||||
".stylua.toml",
|
||||
"stylua.toml",
|
||||
"selene.toml",
|
||||
"selene.yml",
|
||||
".git",
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user