This is a lua version of footprints
- Highlights lines where you changed text.
- Darker highlight based on how old changes are.
Use your favourite package manager and call setup function.
" Vimscript with vim-plug
Plug 'max397574/footprints.nvim'
-- lua with packer.nvim
use {"max397574/footprints.nvim"}
Just type and see your changes.
-- lua, default settings
require("footprints_nvim").setup {
highlight_color_1 = "#000000" --for the oldest change
highlight_color_2 = "#2E2E2E"
highlight_color_3 = "#616161"
highlight_color_4 = "#969696"
highlight_color_5 = "#A1A1A1" -- for the newest change
change_step_size = 1 -- how much time until a change goes to the next category
}
- Currently doesn't work when highlight are set with a namespace
Smarter highlight colors