]> git.rmz.io Git - dotfiles.git/blobdiff - nvim/lua/plugins/ui.lua
zsh: rnr function to add a task to read-and-review urls
[dotfiles.git] / nvim / lua / plugins / ui.lua
index 05ab3dfe94ee69f0adc106c0c71e203a7454b4b8..996495759f74f28d13bef2ae407f0dce03e39d5b 100644 (file)
@@ -86,10 +86,11 @@ end
 
 ---@type LazySpec
 return {
-  { 'echasnovski/mini.clue',
+  { 'nvim-mini/mini.clue',
     -- 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>' },
@@ -280,7 +281,7 @@ return {
     end,
   },
   {
-    "echasnovski/mini.icons",
+    "nvim-mini/mini.icons",
     lazy = true,
     opts = {
       file = {
@@ -314,10 +315,10 @@ return {
   { "indent-blankline.nvim",
     enabled = false,  -- replaced by snacks.indent
   },
-  { "echasnovski/mini.indentscope",
+  { "nvim-mini/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 = {
@@ -330,7 +331,7 @@ return {
     lazy = true,
     init = function()
       vim.g.navic_silence = true
-      LazyVim.lsp.on_attach(function(client, buffer)
+      rmz.lsp.on_attach(function(client, buffer)
         if client.supports_method("textDocument/documentSymbol") then
           require("nvim-navic").attach(client, buffer)
         end