Adjusting COC

This commit is contained in:
2025-09-12 11:53:08 -04:00
parent bc458aec5a
commit bc9cb89e8f
3 changed files with 10 additions and 7 deletions

View File

@@ -185,3 +185,12 @@ vim.api.nvim_create_user_command("Vsplit", function()
vim.cmd("vsplit")
vim.cmd("wincmd l")
end, {})
function ShowDocumentation()
if CocAction("hasProvider", "hover") then
CocActionAsync("doHover")
else
vim.cmd("h " .. vim.bo.filetype)
end
end