1
0
Fork 0

Install and use sumneko-lua-language-server

This commit is contained in:
Daniel Kempkens 2021-12-28 00:52:34 +01:00
parent c3770da2c0
commit ca4a0758b1
2 changed files with 2 additions and 5 deletions

View file

@ -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 = {

View file

@ -39,6 +39,7 @@ in
nodePackages.yaml-language-server
rnix-lsp
sqls
sumneko-lua-language-server
taplo-lsp
# LSP Tools