Closed olinpin closed 6 months ago
Another option that apparently lazy loads the plugin when entering command line mode:
(I found this by searching github from here https://github.com/Wansmer/nvim-config/blob/cae2be77a47123bd2e4420ed11fbef0247ae28df/lua/config/plugins/range-highlight.lua#L2)
return {
"winston0410/range-highlight.nvim",
enabled = true,
event = { "CmdlineEnter" },
dependencies = { "winston0410/cmd-parser.nvim" },
config = function()
require("range-highlight").setup({})
end,
}
I added a lazy.nvim documentation to the readme