robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Justin M. Keyesre-integrate runtime/ vim-patch:0 #938a98a6996c2

master
357 B13 linesraw
1" Simplistic way to make spaces and Tabs visible
2
3" This can be added to an already active syntax.
4
5syn match Space " "
6syn match Tab "\t"
7if &background == "dark"
8  hi def Space ctermbg=darkred guibg=#500000
9  hi def Tab ctermbg=darkgreen guibg=#003000
10else
11  hi def Space ctermbg=lightred guibg=#ffd0d0
12  hi def Tab ctermbg=lightgreen guibg=#d0ffd0
13endif