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.
Recommend to use vim-plug
Plug 'dwrdx/mywords.nvim'
configuire your own key mappings in init.vim
map <silent> <leader>m :lua require'mywords'.hl_toggle()<CR>
map <silent> <leader>r :lua require'mywords'.hl_toggle_regex()<CR>
map <silent> <leader>c :lua require'mywords'.uhl_all()<CR>