summaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc7
1 files changed, 3 insertions, 4 deletions
diff --git a/vim/vimrc b/vim/vimrc
index b6f2f5c..a706441 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -34,10 +34,6 @@ set tabstop=4
set mouse=a
set ttymouse=sgr
-" trailing whitespace highlighting
-highlight WhiteSpaceEOL ctermbg=darkgreen
-match WhiteSpaceEOL /\s\+$/
-
" put all the vim files under ~/.vim to avoid polluting the rest of the
" filesystem with them
set dir=~/.cache/vim/swap
@@ -52,6 +48,9 @@ else
colorscheme inkpot
endif
+" trailing whitespace highlighting
+match WhiteSpaceEOL /\s\+$/
+
" extension-based filetypes
let filetype_m="mma"
let filetype_par="config"