]> git.rmz.io Git - dotfiles.git/commitdiff
nvim: lazy load mini.clue
authorSamir Benmendil <me@rmz.io>
Sat, 1 Mar 2025 18:11:37 +0000 (18:11 +0000)
committerSamir Benmendil <me@rmz.io>
Sun, 2 Mar 2025 16:29:59 +0000 (16:29 +0000)
Allows me to run :Verbose map to figure out where a keybind was set.

nvim/lua/plugins/ui.lua

index 8e52958f400bc38cee86cf17a846fc9c60f8dc84..56dcba9e549f01bbd52d2556c8f7c7ee71fec2dc 100644 (file)
@@ -90,6 +90,7 @@ return {
     -- NOTE: this caused some issue with unterminated mappings, i.e. <L>gc when there 
     -- is also <L>gcc. It would simply terminate early and not allow for next mapping.
     version = '*',
     -- NOTE: this caused some issue with unterminated mappings, i.e. <L>gc when there 
     -- is also <L>gcc. It would simply terminate early and not allow for next mapping.
     version = '*',
+    lazy = true,  -- NOTE: load this explicitely when needed, it blocks querying for key definitons via :Verbose map
     opts = {
       triggers = {
         { mode = 'n', keys = '<Leader>' },
     opts = {
       triggers = {
         { mode = 'n', keys = '<Leader>' },