annotate runtime/syntax/whitespace.vim @ 7941:98644de08f15
v7.4.1266
commit https://github.com/vim/vim/commit/ab9fc7e0cf22bcee119b62d3433cac60f405e645
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 6 15:29:40 2016 +0100
patch 7.4.1266
Problem: A BufAdd autocommand may cause an ml_get error (Christian
Brabandt)
Solution: Increment RedrawingDisabled earlier.
author |
Christian Brabandt <cb@256bit.org> |
date |
Sat, 06 Feb 2016 15:30:04 +0100 |
parents |
3fc0f57ecb91 |
children |
|
rev |
line source |
7
|
1 " Simplistic way to make spaces and Tabs visible
|
|
2
|
|
3 " This can be added to an already active syntax.
|
|
4
|
|
5 syn match Space " "
|
|
6 syn match Tab "\t"
|
|
7 if &background == "dark"
|
|
8 hi def Space ctermbg=darkred guibg=#500000
|
|
9 hi def Tab ctermbg=darkgreen guibg=#003000
|
|
10 else
|
|
11 hi def Space ctermbg=lightred guibg=#ffd0d0
|
|
12 hi def Tab ctermbg=lightgreen guibg=#d0ffd0
|
|
13 endif
|