vim update
This commit is contained in:
+8
-10
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user