aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2017-06-11 20:47:59 +0200
committerMax Christian Pohle2017-06-11 20:47:59 +0200
commit455e80e5b96b2abd9c04c96ba4015828bbb7786d (patch)
treedb73663f60f1ec841884e2125abf2d0ea685d25e
parent613d6b70a09f8aac7301c3e62ba9ed924e523ec3 (diff)
downloadvim-karlmarks-455e80e5b96b2abd9c04c96ba4015828bbb7786d.tar.bz2
vim-karlmarks-455e80e5b96b2abd9c04c96ba4015828bbb7786d.zip
Made EOL whitespace detection a BufEnter autocmd
-rw-r--r--vimrc-full3
1 files changed, 2 insertions, 1 deletions
diff --git a/vimrc-full b/vimrc-full
index a53161f..6982e49 100644
--- a/vimrc-full
+++ b/vimrc-full
@@ -645,7 +645,8 @@ if has("autocmd")
645 645
646 augroup extra_whitespace " { 646 augroup extra_whitespace " {
647 highlight ExtraWhitespace ctermbg=red ctermfg=white guibg=red 647 highlight ExtraWhitespace ctermbg=red ctermfg=white guibg=red
648 autocmd BufEnter * syn match ExtraWhitespace /\s\+$/ 648 " autocmd BufEnter * syn match ExtraWhitespace /\s\+$/
649 autocmd BufEnter * match ExtraWhitespace /\s\+$/
649 augroup END "} 650 augroup END "}
650 651
651 augroup CurrentFileName 652 augroup CurrentFileName
..