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, {
|
||||
cmd = {
|
||||
vim.fn.globpath('~', 'Code/LSP/lua/bin/macOS/lua-language-server'),
|
||||
'-E',
|
||||
vim.fn.globpath('~', 'Code/LSP/lua/main.lua')
|
||||
},
|
||||
cmd = { 'lua-language-server' },
|
||||
root_dir = lsp.util.root_pattern("init.vim", "init.lua", ".git") or vim.loop.os_homedir(),
|
||||
settings = {
|
||||
Lua = {
|
||||
|
|
|
@ -39,6 +39,7 @@ in
|
|||
nodePackages.yaml-language-server
|
||||
rnix-lsp
|
||||
sqls
|
||||
sumneko-lua-language-server
|
||||
taplo-lsp
|
||||
|
||||
# LSP Tools
|
||||
|
|
Loading…
Reference in a new issue