vim: add lua ls

This commit is contained in:
Gabriel Ebner 2021-05-24 12:16:15 +02:00
parent f0f30878ff
commit 177775e122

11
vimrc

@ -121,6 +121,8 @@ else
endif
Plug 'neovim/nvim-lspconfig'
Plug 'folke/lua-dev.nvim'
endif
call plug#end()
@ -257,6 +259,15 @@ require'compe'.setup {
};
}
local luadev = require("lua-dev").setup({
lspconfig = {
cmd = {"lua-language-server"}
},
})
local lspconfig = require('lspconfig')
lspconfig.sumneko_lua.setup(luadev)
EOF
hi LspReferenceRead cterm=bold ctermbg=red guibg=LightYellow