max397574 / footprints.nvim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

👣footprints.nvim

This is a lua version of footprints

✨Features

  • Highlights lines where you changed text.
  • Darker highlight based on how old changes are.

📦Installation

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"}

✅Usage

Just type and see your changes.

⚙️Customization

-- 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
}

🚫Limitations/Issues

  • Currently doesn't work when highlight are set with a namespace

💡Future Plans/Ideas

Smarter highlight colors

👀Demo

footprints_demo.mp4

About


Languages

Language:Lua 100.0%