aboutsummaryrefslogtreecommitdiff
path: root/lua/pml68
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-02-24 18:58:47 +0100
committerpml68 <contact@pml68.dev>2025-02-24 18:58:47 +0100
commitc43a59df5d71cfdf170392d990fcdc1861a8f1e1 (patch)
tree468cc6e68c7d759f3be5d66718357ef7ce514309 /lua/pml68
parentfeat: switch back to stable tag for `saecki/crates.nvim` (diff)
downloadnvim-c43a59df5d71cfdf170392d990fcdc1861a8f1e1.tar.gz
fix: make inlay hints toggle local to current buffer
Diffstat (limited to '')
-rw-r--r--lua/pml68/remap.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/pml68/remap.lua b/lua/pml68/remap.lua
index 92614a9..3846493 100644
--- a/lua/pml68/remap.lua
+++ b/lua/pml68/remap.lua
@@ -108,6 +108,6 @@ vim.api.nvim_create_autocmd('LspAttach', {
-- u/Blan_11
vim.keymap.set('n', '<leader>lh', function()
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled())
- end, { silent = true })
+ end, { silent = true, buffer = event.buf })
end
})