better lsp

This commit is contained in:
2022-09-27 23:46:19 -04:00
parent 94a56a8f34
commit b7d906d1bf
3 changed files with 31 additions and 1 deletions
+28
View File
@@ -1,9 +1,37 @@
vim.g.coq_settings = {
auto_start = 'shut-up',
keymap = {
eval_snips = "<Leader>se",
},
clients = {
buffers = {
enabled = true,
weight_adjust = -2.0,
},
tree_sitter = {
enabled = true,
weight_adjust = -1.5,
},
lsp = {
enabled = true,
weight_adjust = 1.5,
},
snippets = {
enabled = true,
weight_adjust = 2.0,
}
}
}
local coq = require('coq')
require('coq_3p') {
{ src = 'vimtex', short_name = 'TEX'},
{ src = 'nvimlua', short_name = 'NLUA', conf_only = true},
{ src = 'bc', short_name = 'CALC', precision = 8},
}
local lspstatus = require('lsp-status')
lspstatus.register_progress()