X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/b99dee25318e48024313b76e075a24afccd0c10b..HEAD:/nvim/lua/plugins/ui.lua diff --git a/nvim/lua/plugins/ui.lua b/nvim/lua/plugins/ui.lua index 261312a..56dcba9 100644 --- a/nvim/lua/plugins/ui.lua +++ b/nvim/lua/plugins/ui.lua @@ -90,6 +90,7 @@ return { -- NOTE: this caused some issue with unterminated mappings, i.e. gc when there -- is also 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 = '' }, @@ -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 = {