summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Robin Obůrka <robin.oburka@nic.cz> 2014-05-02 09:31:35 +0200
committerGravatar Robin Obůrka <robin.oburka@nic.cz> 2014-05-02 09:31:35 +0200
commit9d6123ebeeee5b124d977db28c79c12cec59923b (patch)
tree0ec7952c1ae536742be77ecc5d8fe939273ac348
parentCompletely new version of vimrc (diff)
downloadvim_sync-9d6123ebeeee5b124d977db28c79c12cec59923b.tar.xz
Fix "highlite redundant spaces" function
-rw-r--r--.vimrc10
1 files changed, 6 insertions, 4 deletions
diff --git a/.vimrc b/.vimrc
index db484ff..3f858c4 100644
--- a/.vimrc
+++ b/.vimrc
@@ -87,16 +87,18 @@ endif
set spelllang=cs
set mousemodel=popup
-"show redundant spaces
-au BufEnter * match RedundantSpaces /\s\+$\| \+\ze\t/
-highlight RedundantSpaces ctermbg=red guibg=red
-
" =================
" syntax highliting
" =================
syntax on
colorscheme evening
+" =====================
+" show redundant spaces
+" =====================
+au BufEnter * match RedundantSpaces /\s\+$\| \+\ze\t/
+highlight RedundantSpaces ctermbg=red guibg=red
+
" ===========
" key hacking
" ===========