# HG changeset patch # User Edho Arief # Date 1332105270 -25200 # Node ID ea82caf6c059591f0aeb60e1cc9f10d63792e9a8 # Parent 936adea50fde8a4f2e01bf84537880c504f2e9f4 Added test to verify vim version (lite or full). diff -r 936adea50fde -r ea82caf6c059 rc/vimrc --- 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