view runtime/syntax/whitespace.vim @ 11022:ca8f2d24a79c v8.0.0400

patch 8.0.0400: some tests have a one second delay commit https://github.com/vim/vim/commit/358f6b0a36d25e0e2f8f1fc625974816b71fa50a Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 2 22:43:01 2017 +0100 patch 8.0.0400: some tests have a one second delay Problem: Some tests have a one second delay. Solution: Add --not-a-term in RunVim().
author Christian Brabandt <cb@256bit.org>
date Thu, 02 Mar 2017 22:45:05 +0100
parents 3fc0f57ecb91
children
line wrap: on
line source

" 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