Skip to content

Commit

Permalink
Nvim: LSP: s/sumneko_lua/lua_ls/
Browse files Browse the repository at this point in the history
  • Loading branch information
polyzen committed Feb 12, 2023
1 parent 5449624 commit f3514db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/.config/nvim/lua/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ vim.api.nvim_create_autocmd('LspAttach', {
vim.lsp.buf.format({
bufnr = bufnr,
filter = function()
return client.name ~= 'sumneko_lua' or 'tsserver'
return client.name ~= 'lua_ls' or 'tsserver'
end,
})
end
Expand Down Expand Up @@ -219,7 +219,7 @@ if vim.fn.executable('rust-analyzer') == 1 then
})
end

nvim_lsp.sumneko_lua.setup({ capabilities = cmp_capabilities })
nvim_lsp.lua_ls.setup({ capabilities = cmp_capabilities })

nvim_lsp.svelte.setup({ capabilities = cmp_capabilities })

Expand Down

0 comments on commit f3514db

Please sign in to comment.