chore: replaced nvim-cmp with nvim-coq because cmp wasnt adding brackets to functions

This commit is contained in:
Afonso Franco 2022-11-17 01:30:44 +00:00
parent 8883c101fa
commit 3ff6b7b1c4
Signed by: afonso
SSH key fingerprint: SHA256:gkVPzsQQJzqi21ntQBV6pXTx4bYI53rFGI4XtvCpwd4
4 changed files with 44 additions and 160 deletions

View file

@ -31,18 +31,25 @@ local on_attach = function(client, bufnr)
vim.keymap.set('n', '<space>f', function() vim.lsp.buf.format { async = true } end, bufopts)
end
require('lspconfig')['hls'].setup{
on_attach = on_attach,
flags = lsp_flags,
}
require('lspconfig')['rust_analyzer'].setup{
on_attach = on_attach,
flags = lsp_flags,
-- Server-specific settings...
settings = {
["rust-analyzer"] = {}
}
local lsp = require "lspconfig"
local coq = require "coq"
lsp['hls'].setup{
on_attach = on_attach,
flags = lsp_flags,
}
lsp['rust_analyzer'].setup{}
lsp.rust_analyzer.setup(
coq.lsp_ensure_capabilities{
on_attach = on_attach,
flags = lsp_flags,
-- Server-specific settings...
settings = {
["rust-analyzer"] = {}
}
}
)
require('lspconfig')['texlab'].setup{
on_attach = on_attach,
flags = lsp_flags,