From a1e3a88169abe207ddde1f9ecc8939c888d292f9 Mon Sep 17 00:00:00 2001 From: th3r00t Date: Fri, 12 Sep 2025 12:05:57 -0400 Subject: [PATCH] Adjusting COC --- lua/utils/t3_functions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/utils/t3_functions.lua b/lua/utils/t3_functions.lua index ec91384..dc303fb 100644 --- a/lua/utils/t3_functions.lua +++ b/lua/utils/t3_functions.lua @@ -187,8 +187,8 @@ vim.api.nvim_create_user_command("Vsplit", function() end, {}) function _G.ShowDocumentation() - if CocAction("hasProvider", "hover") then - CocActionAsync("doHover") + if vim.fn.CocAction("hasProvider", "hover") then + vim.fn.CocActionAsync("doHover") else vim.cmd("h " .. vim.bo.filetype) end