Adjusting COC

This commit is contained in:
2025-09-12 12:05:57 -04:00
parent ca31baa065
commit a1e3a88169

View File

@@ -187,8 +187,8 @@ vim.api.nvim_create_user_command("Vsplit", function()
end, {}) end, {})
function _G.ShowDocumentation() function _G.ShowDocumentation()
if CocAction("hasProvider", "hover") then if vim.fn.CocAction("hasProvider", "hover") then
CocActionAsync("doHover") vim.fn.CocActionAsync("doHover")
else else
vim.cmd("h " .. vim.bo.filetype) vim.cmd("h " .. vim.bo.filetype)
end end