Mercurial > vim
view runtime/syntax/whitespace.vim @ 10879:1fce74a5a628 v8.0.0329
patch 8.0.0329: xfontset and guifontwide are not tested
commit https://github.com/vim/vim/commit/10434674821939222bf552d15d93e0132d13badc
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 12 19:59:08 2017 +0100
patch 8.0.0329: xfontset and guifontwide are not tested
Problem: Xfontset and guifontwide are not tested.
Solution: Add tests. (Kazunobu Kuriyama)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 12 Feb 2017 20:00:04 +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