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

@@ -132,13 +132,6 @@ vim.api.nvim_create_autocmd("FileType", {
})
-- COC Keybindings
function ShowDocumentation()
if CocAction("hasProvier", "hover") then
CocActionAsync("doHover")
else
vim.cmd("h " .. vim.bo.filetype)
end
end
vim.keymap.set( "n", "K", ":call ShowDocumentation()<CR>", { noremap = true, silent = true, desc = "Show Documentation" })
vim.keymap.set( "n", "<leader>l", "", {desc = "LSP" })