diff options
author | johannst <stoelp@eit.uni-kl.de> | 2017-07-06 22:44:31 +0200 |
---|---|---|
committer | johannst <stoelp@eit.uni-kl.de> | 2017-07-06 22:44:31 +0200 |
commit | 0ed5bc6917eba01352d29c0ff009c5412d3f5ae5 (patch) | |
tree | 05392bf312bbe32ce16ca061e7dc319709387881 | |
parent | a16dfdb7ba623a6907b8c082596ac3d58585f9b6 (diff) | |
download | dotfiles-0ed5bc6917eba01352d29c0ff009c5412d3f5ae5.tar.gz dotfiles-0ed5bc6917eba01352d29c0ff009c5412d3f5ae5.zip |
vimrc improved regex for highlighting unwanted tab and space chars
-rw-r--r-- | vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -157,7 +157,7 @@ set list " show invisible character set listchars=tab:>-,trail:-,precedes:<,extends:> augroup aug:HighlightTrailingWhitespace autocmd! - autocmd BufEnter * 2match Error /\s\+$/ + autocmd BufEnter * 2match Error /\m\(\s\+$\|\([^\t]\)\@<=\t\)/ autocmd BufLeave * 2match none augroup end |