mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-10-13 04:51:15 +02:00
nvim: changed not needed coc reference for lsp one
This commit is contained in:
@@ -96,8 +96,6 @@ vim.keymap.set('n', 'Zt', '<NOP>', { noremap = true })
|
||||
vim.keymap.set('n', 'K', function()
|
||||
local winid = require('ufo').peekFoldedLinesUnderCursor()
|
||||
if not winid then
|
||||
-- choose one of coc.nvim and nvim lsp
|
||||
vim.fn.CocActionAsync('definitionHover') -- coc.nvim
|
||||
vim.lsp.buf.hover()
|
||||
end
|
||||
end)
|
||||
|
Reference in New Issue
Block a user