]> git.rmz.io Git - dotfiles.git/blobdiff - nvim/lua/plugins/ui.lua
nvim: lazy load mini.clue
[dotfiles.git] / nvim / lua / plugins / ui.lua
index 261312af634b28dd235fbd356880588fe91b948f..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 = '*',
+    lazy = true,  -- NOTE: load this explicitely when needed, it blocks querying for key definitons via :Verbose map
     opts = {
       triggers = {
         { mode = 'n', keys = '<Leader>' },
@@ -317,7 +318,7 @@ return {
   { "echasnovski/mini.indentscope",
     enabled = false,  -- replaced by snacks.indent
     version = false, -- wait till new 0.7.0 release to put it back on semver
-    event = "LazyFile",
+    event = { "BufReadPost", "BufNewFile", "BufWritePre" },
     opts = function (_, opts)
       return {
         draw = {