Skip to content

Commit

Permalink
Adding highligting for tabs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Thomson authored and Andrew Thomson committed Dec 16, 2011
1 parent e6baefa commit 0d4655f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vimrc
Expand Up @@ -84,7 +84,11 @@ if has("autocmd")

" Highlight white space at end of lines
highlight TailWhiteSpace ctermbg=darkgrey guibg=darkgrey
autocmd BufEnter * let mach1=matchadd('TailWhiteSpace', '\s\+$')
autocmd BufEnter * let mach1=matchadd('TailWhiteSpace', '\s\+$')

" Highlight tabs
highlight TabHighlight ctermbg=red guibg=red
autocmd BufEnter * let mach3=matchadd('TabHighlight', '\t')

augroup END

Expand Down

0 comments on commit 0d4655f

Please sign in to comment.