Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 2 files changed
  • 0 comments
  • 1 contributor

Showing 2 changed files with 8 additions and 1 deletion. Show diff stats Hide diff stats

  1. 8  .vimrc
  2. 1  README.txt
8  .vimrc
@@ -190,4 +190,10 @@ command SN setlocal nospell
190 190
 
191 191
 " :CONVISSOR:  Highlight trailing whitespace.
192 192
 highlight WhitespaceEOL ctermbg=red guibg=red
193  
-match WhitespaceEOL /\s\+$/
  193
+autocmd BufWinEnter * match WhitespaceEOL /\s\+$/
  194
+
  195
+" :CONVISSOR:  Highlight mixed up nesting.  (First stab, refine it.)
  196
+highlight NestingMixupSpace ctermbg=DarkMagenta guibg=DarkMagenta
  197
+highlight NestingMixupTab ctermbg=DarkMagenta guibg=DarkMagenta
  198
+autocmd BufWinEnter * match NestingMixupSpace /^\t*\zs \+\ze[^*]/
  199
+autocmd BufWinEnter *pear* match NestingMixupTab /^ *\zs\t\+\ze[^*]/
1  README.txt
@@ -11,6 +11,7 @@ annotated in the sources using ":CONVISSOR:".  My adjustments are:
11 11
 * Use F10 to completely turn off line wrapping.
12 12
 * Use SP to turn spelling on and SN to turn it off.
13 13
 * Highlight trailing whitespace.
  14
+* Highlight mixed up nesting.
14 15
 * Include tpope's fugitive plugin.
15 16
 * Include tpope's endwise plugin.
16 17
 * Include Karl Guertin's autoclose plugin.

No commit comments for this range

Something went wrong with that request. Please try again.