Install and use sumneko-lua-language-server
This commit is contained in:
parent
c3770da2c0
commit
ca4a0758b1
2 changed files with 2 additions and 5 deletions
|
@ -97,11 +97,7 @@ lsp.solargraph.setup(vim.tbl_extend('force', default_config, {
|
||||||
}))
|
}))
|
||||||
|
|
||||||
lsp.sumneko_lua.setup(vim.tbl_extend('force', default_config, {
|
lsp.sumneko_lua.setup(vim.tbl_extend('force', default_config, {
|
||||||
cmd = {
|
cmd = { 'lua-language-server' },
|
||||||
vim.fn.globpath('~', 'Code/LSP/lua/bin/macOS/lua-language-server'),
|
|
||||||
'-E',
|
|
||||||
vim.fn.globpath('~', 'Code/LSP/lua/main.lua')
|
|
||||||
},
|
|
||||||
root_dir = lsp.util.root_pattern("init.vim", "init.lua", ".git") or vim.loop.os_homedir(),
|
root_dir = lsp.util.root_pattern("init.vim", "init.lua", ".git") or vim.loop.os_homedir(),
|
||||||
settings = {
|
settings = {
|
||||||
Lua = {
|
Lua = {
|
||||||
|
|
|
@ -39,6 +39,7 @@ in
|
||||||
nodePackages.yaml-language-server
|
nodePackages.yaml-language-server
|
||||||
rnix-lsp
|
rnix-lsp
|
||||||
sqls
|
sqls
|
||||||
|
sumneko-lua-language-server
|
||||||
taplo-lsp
|
taplo-lsp
|
||||||
|
|
||||||
# LSP Tools
|
# LSP Tools
|
||||||
|
|
Loading…
Reference in a new issue