]> git.rmz.io Git - dotfiles.git/blobdiff - nvim/lua/plugins/editor.lua
nvim: remove vim-symlink
[dotfiles.git] / nvim / lua / plugins / editor.lua
index cb18528f7f5e97106c4f9ce2a74486eb4dc79b3c..7c35330f3e5ec7f51f15424bfad7eaf842f05fbd 100644 (file)
@@ -83,6 +83,17 @@ return {
     },
     opts = {}
   },
+  { "echasnovski/mini.hipatterns",  -- highlight hex colours and other matched words
+    event = { "BufReadPost", "BufNewFile", "BufWritePre" },
+    opts = function()
+      local hi = require("mini.hipatterns")
+      return {
+        highlighters = {
+          hex_color = hi.gen_highlighter.hex_color({ priority = 2000 }),
+        },
+      }
+    end,
+  },
   { "folke/flash.nvim",
     -- Flash enhances the built-in search functionality by showing labels
     -- at the end of each match, letting you quickly jump to a specific
@@ -192,7 +203,4 @@ return {
       },
     },
   },
-  { "aymericbeaumet/vim-symlink",
-    dependencies = { "moll/vim-bbye" }, -- NOTE: Snacks.buddelete also provides this
-  },
 }