about summary refs log tree commit diff
path: root/fnl
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-05-19 01:13:14 +0900
committersefidel <contact@sefidel.net>2024-05-19 01:13:14 +0900
commita94f39f105fcc94f3092ea6360215d1b3f2c2cfa (patch)
tree33b7158795d424b23316d8166eaeddd470aed68c /fnl
parent33076ac0ac882aa8fad4e21d811ef50d18ba40e6 (diff)
downloadnvimrc-a94f39f105fcc94f3092ea6360215d1b3f2c2cfa.tar.gz
nvimrc-a94f39f105fcc94f3092ea6360215d1b3f2c2cfa.zip
feat(keymaps): add keymap for toggling inlay hints
Diffstat (limited to 'fnl')
-rw-r--r--fnl/nvrc/keymaps.fnl1
1 files changed, 1 insertions, 0 deletions
diff --git a/fnl/nvrc/keymaps.fnl b/fnl/nvrc/keymaps.fnl
index 80c1b31..c98a78a 100644
--- a/fnl/nvrc/keymaps.fnl
+++ b/fnl/nvrc/keymaps.fnl
@@ -85,6 +85,7 @@
 (map! [n] :fu (vim.lsp.buf.implementation))
 (map! [n] :fi (vim.lsp.buf.incoming_calls))
 (map! [n] :fo (vim.lsp.buf.outgoing_calls))
+(map! [n] :fh (vim.lsp.inlay_hint.enable (not (vim.lsp.inlay_hint.is_enabled))))
 (map! [n] :frl (vim.lsp.buf.references))
 (map! [n] :frc (vim.lsp.buf.clear_references))
 (map! [n] :frr (vim.lsp.buf.rename))