vim: add lua ls
This commit is contained in:
parent
f0f30878ff
commit
177775e122
11
vimrc
11
vimrc
@ -121,6 +121,8 @@ else
|
|||||||
endif
|
endif
|
||||||
Plug 'neovim/nvim-lspconfig'
|
Plug 'neovim/nvim-lspconfig'
|
||||||
|
|
||||||
|
Plug 'folke/lua-dev.nvim'
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
call plug#end()
|
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
|
EOF
|
||||||
|
|
||||||
hi LspReferenceRead cterm=bold ctermbg=red guibg=LightYellow
|
hi LspReferenceRead cterm=bold ctermbg=red guibg=LightYellow
|
||||||
|
Loading…
Reference in New Issue
Block a user