X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/938e14e8344e6473501451a6c5185ad102e3b777..HEAD:/nvim/lua/plugins/editor.lua diff --git a/nvim/lua/plugins/editor.lua b/nvim/lua/plugins/editor.lua index cb18528..7c35330 100644 --- a/nvim/lua/plugins/editor.lua +++ b/nvim/lua/plugins/editor.lua @@ -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 - }, }