about summary refs log tree commit diff
path: root/fnl/nvrc
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-09-16 00:15:25 +0900
committersefidel <contact@sefidel.net>2023-09-16 00:15:25 +0900
commit6f2371291e3b7e4f439dc99f17bc0746bc871abe (patch)
tree8e5b572257a2a997be14b7a4a2c7d1dfa377814f /fnl/nvrc
parentf44f7720f8a37af3d356b2f75fce5809db0984cb (diff)
downloadnvimrc-6f2371291e3b7e4f439dc99f17bc0746bc871abe.tar.gz
nvimrc-6f2371291e3b7e4f439dc99f17bc0746bc871abe.zip
feat(keymaps): <leader>l to show diagnostics
Diffstat (limited to 'fnl/nvrc')
-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 bdd6968..c185564 100644
--- a/fnl/nvrc/keymaps.fnl
+++ b/fnl/nvrc/keymaps.fnl
@@ -69,6 +69,7 @@
 (map! [v] :<A-r> ":m '<-2<cr>gv=gv")
 
 (map! [n] :<leader>k (vim.lsp.buf.hover))
+(map! [n] :<leader>l (vim.diagnostic.open_float nil {:focus false}))
 (map! [n] :<leader>b ((. (require :dap) :toggle_breakpoint)))
 
 ;; Helix-like movements