mywords.nvim
mywords.nvim copied to clipboard
Highlight words with different colors in neovim
mywords.nvim
Highlight words with different colors in neovim. When all the configured colors has been used, the first highlight will be cleared automatically and used for the next new highlight, you don't have to clear old highlights that you don't care anymore.

How to install
Recommend to use vim-plug
Plug 'dwrdx/mywords.nvim'
How to use
configuire your own key mappings in init.vim
map <silent> <leader>m :lua require'mywords'.hl_toggle()<CR>
map <silent> <leader>c :lua require'mywords'.uhl_all()<CR>