Reveal whitespace characters in visual mode, similar to VSCode.
GIF: Highlighting in charwise-visual and linewise-visual
To install it with the default settings using Lazy:
{
'mcauley-penney/visual-whitespace.nvim',
config = true
}
visual-whitespace
comes with the following default settings:
opts = {
highlight = { link = 'Visual' },
space_char = '·',
tab_char = '→',
nl_char = '↲',
cr_char = '←'
},
- This post on the Neovim subreddit, for doing a lot of the math for me
- aaron-p1/match-visual.nvim