A simple plugin for neovim that makes some checks and display a warning message on startup.
- plenary.nvim
cutoff_days = <N>
: displays a message on startup if the current repository is "dirty" (files uncommitted) and the latest commit is older than N days
{
'waltr-fr/redalert.nvim'
dependencies = { 'nvim-lua/plenary.nvim' },
config = function()
require("redalert").setup({
cutoff_days = 5,
})
end,
}
use {
'waltr-fr/redalert.nvim',
requires = { 'nvim-lua/plenary.nvim' },
config = function()
require("redalert").setup({
cutoff_days = 5,
})
end,
}
local redalert = require('redalert')
redalert.setup({
cutoff_days = 5,
})
- more alerts
- more visible message, popup maybe