better lsp
This commit is contained in:
parent
94a56a8f34
commit
b7d906d1bf
|
@ -1,9 +1,37 @@
|
||||||
vim.g.coq_settings = {
|
vim.g.coq_settings = {
|
||||||
auto_start = 'shut-up',
|
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')
|
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')
|
local lspstatus = require('lsp-status')
|
||||||
lspstatus.register_progress()
|
lspstatus.register_progress()
|
||||||
|
|
||||||
|
|
|
@ -126,6 +126,7 @@ return require('packer').startup({function(use)
|
||||||
commit = "607ff48b970b89c3e4e3825b88d9cfd05b7aaea5",
|
commit = "607ff48b970b89c3e4e3825b88d9cfd05b7aaea5",
|
||||||
requires = {
|
requires = {
|
||||||
'nvim-lua/lsp-status.nvim',
|
'nvim-lua/lsp-status.nvim',
|
||||||
|
'ms-jpq/coq.thirdparty',
|
||||||
{
|
{
|
||||||
'ms-jpq/coq_nvim',
|
'ms-jpq/coq_nvim',
|
||||||
run = ':COQdeps',
|
run = ':COQdeps',
|
||||||
|
|
3
zshenv
3
zshenv
|
@ -18,7 +18,8 @@ export HISTFILE="$XDG_DATA_HOME"/zsh/history
|
||||||
export GNUPGHOME="$XDG_CONFIG_HOME"/gnupg
|
export GNUPGHOME="$XDG_CONFIG_HOME"/gnupg
|
||||||
export NUGET_PACKAGES="$XDG_CACHE_HOME"/nuget
|
export NUGET_PACKAGES="$XDG_CACHE_HOME"/nuget
|
||||||
export GDBHISTFILE="$XDG_DATA_HOME"/gdb/history
|
export GDBHISTFILE="$XDG_DATA_HOME"/gdb/history
|
||||||
export VIMDOTDIR="$XDG_CONFIG_HOME/vim"
|
export VIMDOTDIR="$XDG_CONFIG_HOME"/vim
|
||||||
|
export NVIM_HOME="$XDG_CONFIG_HOME"/nvim
|
||||||
export IPYTHONDIR="$XDG_CONFIG_HOME"/ipython
|
export IPYTHONDIR="$XDG_CONFIG_HOME"/ipython
|
||||||
export JUPYTER_CONFIG_DIR="$XDG_CONFIG_HOME"/jupyter
|
export JUPYTER_CONFIG_DIR="$XDG_CONFIG_HOME"/jupyter
|
||||||
export GOPATH="$XDG_DATA_HOME"/go
|
export GOPATH="$XDG_DATA_HOME"/go
|
||||||
|
|
Loading…
Reference in New Issue
Block a user