mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-05-04 15:37:22 +00:00
nvim: replace sumneko_lua with lua_ls
This commit is contained in:
parent
a880713412
commit
a42858ebe8
1 changed files with 2 additions and 2 deletions
|
|
@ -262,7 +262,7 @@ end
|
|||
local capabilities = require('cmp_nvim_lsp').default_capabilities(vim.lsp.protocol.make_client_capabilities())
|
||||
|
||||
-- Enable the following language servers
|
||||
local servers = { 'tsserver', 'sumneko_lua' }
|
||||
local servers = { 'tsserver', 'lua_ls' }
|
||||
|
||||
-- Ensure the servers above are installed
|
||||
require("mason").setup {}
|
||||
|
|
@ -288,7 +288,7 @@ local runtime_path = vim.split(package.path, ';')
|
|||
table.insert(runtime_path, 'lua/?.lua')
|
||||
table.insert(runtime_path, 'lua/?/init.lua')
|
||||
|
||||
require('lspconfig').sumneko_lua.setup {
|
||||
require('lspconfig').lua_ls.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
settings = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue