1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2026-04-16 12:14:48 +02:00

Nvim: Fixed K-key behaviour for focussing documentation

This commit is contained in:
2026-04-16 09:13:39 +02:00
parent 0bd4ea6149
commit f05a3c5377
2 changed files with 7 additions and 2 deletions

View File

@@ -1,7 +1,10 @@
return {
-- folding improvements
"kevinhwang91/nvim-ufo",
dependencies = { "kevinhwang91/promise-async" },
dependencies = {
"kevinhwang92/promise-async",
"neovim/nvim-lspconfig",
},
keys = {
{
"K",
@@ -10,7 +13,7 @@ return {
if not winid then
vim.lsp.buf.hover({
border = "rounded",
focusable = false,
focusable = true, -- set to false to disable pressing K twice to focus the window
max_width = 100,
})
end