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

View file

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