changeset 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 936adea50fde
children d4c74e246ccb
files rc/vimrc
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
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