aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-06-09 23:32:00 +1200
committerTom Ryder <tom@sanctum.geek.nz>2012-06-09 23:32:00 +1200
commit7a910669f76c87bd30e42d0dc770ea9f7c3b1aae (patch)
tree334ead90a9f29bb18d253744f9465dfbd3e070e8 /vim
parentCompatibility (diff)
downloaddotfiles-7a910669f76c87bd30e42d0dc770ea9f7c3b1aae.tar.gz
dotfiles-7a910669f76c87bd30e42d0dc770ea9f7c3b1aae.zip
Wrap synmaxcol in conditionals
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index ff4bbb5c..59d98048 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -45,12 +45,14 @@ endif
" Colors
if has("syntax")
syntax enable
- set synmaxcol=500
set background=dark
silent! colorscheme sahara
if has("folding")
set fillchars=diff:\ ,fold:\ ,vert:\
endif
+ if exists("&synmaxcol")
+ set synmaxcol=500
+ endif
endif
" Commands