Update lua
This commit is contained in:
parent
d61d1eff22
commit
aba3f0500e
@ -21,11 +21,11 @@ if vim.fn.executable('typescript-language-server') then
|
|||||||
nvim_lspconfig.tsserver.setup({capabilities = capabilities})
|
nvim_lspconfig.tsserver.setup({capabilities = capabilities})
|
||||||
end
|
end
|
||||||
if vim.fn.executable('lua-language-server') then
|
if vim.fn.executable('lua-language-server') then
|
||||||
local runtime_path = vim.split(package.path, ';')
|
local runtime_path = vim.split(package.path, ';', {})
|
||||||
table.insert(runtime_path, 'lua/?.lua')
|
table.insert(runtime_path, 'lua/?.lua')
|
||||||
table.insert(runtime_path, 'lua/?/init.lua')
|
table.insert(runtime_path, 'lua/?/init.lua')
|
||||||
|
|
||||||
nvim_lspconfig.sumneko_lua.setup({
|
nvim_lspconfig.lua_ls.setup({
|
||||||
settings = {
|
settings = {
|
||||||
Lua = {
|
Lua = {
|
||||||
diagnostics = {
|
diagnostics = {
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit a48093b2d38daed203c0b8e34761190c826d09e5
|
Subproject commit 261a302a7064b3cf79a90805dddfaa8bfca9ec47
|
@ -1 +1 @@
|
|||||||
Subproject commit 1d3203b4c39ea5ec63cf1271d9e3b14a91706897
|
Subproject commit b5db147e28337319331d516a826b00976f3584de
|
Loading…
Reference in New Issue
Block a user