feat: use language-servers

This commit is contained in:
Michael Mandl 2022-02-20 20:09:42 +01:00
parent 0f42b82bc2
commit 28057baf5f
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

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',