1
0
Fork 0
mirror of https://github.com/vim/vim synced 2025-03-23 02:05:11 +01:00
vim/runtime/syntax/whitespace.vim

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
357 B
VimL
Raw Permalink Normal View History

2004-06-13 20:20:40 +00:00
" Simplistic way to make spaces and Tabs visible
" This can be added to an already active syntax.
syn match Space " "
syn match Tab "\t"
if &background == "dark"
hi def Space ctermbg=darkred guibg=#500000
hi def Tab ctermbg=darkgreen guibg=#003000
else
hi def Space ctermbg=lightred guibg=#ffd0d0
hi def Tab ctermbg=lightgreen guibg=#d0ffd0
endif