nVim/lua/plugins/spec/builtin.lua
Robert Morrison 6ae1d7a38f feat(builtins): Load new built-in plugins in >0.12
nvim-0.12 brings a native undotree plugin which I am going to experiment
with.
And a nohlsearch plugin that triggers nohlsearch after 4 seconds has
passed without a searching action, this is just neat.
2026-04-10 02:29:51 +01:00

27 lines
456 B
Lua

---@module 'lazy'
---@type LazySpec
return{
{
name = 'nohlsearch',
virtual = true,
dir = 'nohlsearch',
enabled = function ()
return vim.fn.has('nvim-0.12') == 1
end,
init = function()
vim.cmd([[packadd nohlsearch]])
end
},
{
name = 'nvim.undotree',
virtual = true,
dir = 'nvim.undotree',
enabled = function ()
return vim.fn.has('nvim-0.12') == 1
end,
init = function()
vim.cmd([[packadd nvim.undotree]])
end
}
}