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 = 'โ'
},