When I hit /
in vim and search for $
it highlights all eols. But when I try to match them with syntax match
it does not seem to work.
function! ConcealNonText()
set conceallevel=1
set concealcursor=v
syntax match NonText /$/ conceal cchar=¶
endfunction
augroup ConcealNonText
autocmd!
autocmd VimEnter * call ConcealNonText()
augroup END
Any hints how I could match it in order to display eols as concealed chars?
I know I could use set list listchars
but that has some visual side effects in my opinion.