feat: use language-servers

main
mandlm 2022-02-20 20:09:42 +01:00
parent 0f42b82bc2
commit 28057baf5f
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
1 changed files with 8 additions and 0 deletions

View File

@ -48,6 +48,9 @@ return require('packer').startup(function(use)
end
})
-- language server
use("neovim/nvim-lspconfig")
-- autocompletion
use({
"ms-jpq/coq_nvim",
@ -55,6 +58,11 @@ return require('packer').startup(function(use)
})
use({'ms-jpq/coq.artifacts', branch = 'artifacts'})
local language_servers = { "bashls", "rls", "sumneko_lua" }
for _, server in pairs(language_servers) do
require("lspconfig")[server].setup(require("coq").lsp_ensure_capabilities({}))
end
use('tpope/vim-fugitive')
use ({
'lewis6991/gitsigns.nvim',