Skip to content

Commit

Permalink
Remove extra sumneko_lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Shatur committed Jan 1, 2023
1 parent 9e94660 commit 4d19961
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions plugin/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ lspconfig.clangd.setup({
})

lspconfig.sumneko_lua.setup({
cmd = { 'lua-language-server' },
on_attach = function(client, buffer)
setup_lsp_keymaps(client, buffer)
-- Use stylua instead
Expand All @@ -58,19 +57,9 @@ lspconfig.sumneko_lua.setup({
capabilities = capabilities,
settings = {
Lua = {
runtime = {
version = 'LuaJIT',
path = vim.split(package.path, ';'),
},
diagnostics = {
globals = { 'vim' },
},
workspace = {
library = {
[vim.fn.expand('$VIMRUNTIME/lua')] = true,
[vim.fn.expand('$VIMRUNTIME/lua/vim/lsp')] = true,
},
},
},
},
})
Expand Down

0 comments on commit 4d19961

Please sign in to comment.