diff rc/vimrc @ 329:ea82caf6c059

Added test to verify vim version (lite or full).
author Edho Arief <edho@myconan.net>
date Mon, 19 Mar 2012 04:14:30 +0700
parents c6ad8279b076
children f0771672c559
line wrap: on
line diff
--- a/rc/vimrc	Sun Mar 18 16:47:46 2012 +0700
+++ b/rc/vimrc	Mon Mar 19 04:14:30 2012 +0700
@@ -26,6 +26,8 @@
 "autocmd VimEnter * NERDTree
 "autocmd BufEnter * NERDTreeMirror
 
-syntax on
-set background=dark
-colorscheme solarized
+if has('syntax')
+  syntax on
+  set background=dark
+  colorscheme solarized
+endif