File: whitespace.vim

package info (click to toggle)
vim-rt 5.3-12
  • links: PTS
  • area: main
  • in suites: slink
  • size: 3,172 kB
  • ctags: 815
  • sloc: makefile: 857; awk: 778; ansic: 379; perl: 192; sh: 167
file content (11 lines) | stat: -rw-r--r-- 300 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
" Simplistic way to make spaces and Tabs visible
syn clear
syn match Space " "
syn match Tab "\t"
if &background == "dark"
  hi Space ctermbg=darkred guibg=#500000
  hi Tab ctermbg=darkgreen guibg=#003000
else
  hi Space ctermbg=lightred guibg=#ffd0d0
  hi Tab ctermbg=lightgreen guibg=#d0ffd0
endif