Adjusting COC
This commit is contained in:
@@ -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" })
|
||||
|
||||
Reference in New Issue
Block a user