vim update

This commit is contained in:
h
2026-06-13 21:57:40 -04:00
parent bcc5e8ce98
commit f44e1cdc22
16 changed files with 2415 additions and 58 deletions
+8 -10
View File
@@ -71,14 +71,7 @@ local lsp_confs = {
},
},
},
solidity_ls = {
filetpes = { "solidity" },
root_dir = find_repo_root({
configfiles = { "hardhat.config.js", "hardhat.config.ts", "foundry.toml", "remappings.txt", "truffle.js", "truffle-config.js", "ape-config.yaml", ".git", "package.json" }
})
},
solidity_ls = {},
coq_lsp = {},
racket_langserver = {},
ocamllsp = {},
@@ -171,7 +164,8 @@ for server, conf in pairs(lsp_confs) do
lspstatus.capabilities
)
local final_config = coq.lsp_ensure_capabilities(conf)
-- local final_config = coq.lsp_ensure_capabilities(conf)
local final_config = conf
local special_setup = lsp_special_setup[server]
if special_setup then
@@ -263,7 +257,11 @@ vim.api.nvim_create_autocmd(
if vim.bo.filetype ~= "plaintex" and vim.bo.filetype ~= "tex" and vim.bo.filetype ~= "latex" and
vim.bo.filetype ~= "qf" and vim.bo.filetype ~= "bib" and vim.bo.filetype ~= "" and vim.bo.filetype ~= "pdf"
and vim.bo.filetype ~= "conf" and vim.bo.filetype ~= "TelescopePrompt" then
vim.cmd [[ :COQnow -s ]]
vim.defer_fn(function()
if vim.fn.exists(":COQnow") > 0 then
vim.cmd([[ :COQnow -s ]])
end
end, 10)
end
end
})