Force syntax highlighting on; also ignore colorcolum for old versions of vim

This commit is contained in:
Dustin C. Hatch
2011-12-28 15:18:44 -06:00
parent b5206063de
commit d6048b1758

View File

@@ -1,3 +1,5 @@
" enable syntax highlighting
syntax on
" enble modelines (i.e. `# vim: set ft=rst`, etc.) " enble modelines (i.e. `# vim: set ft=rst`, etc.)
set modeline set modeline
" Need line numbers, of course " Need line numbers, of course
@@ -5,7 +7,9 @@ set number
" Incremental search (i.e. find-as-you-type) " Incremental search (i.e. find-as-you-type)
set incsearch set incsearch
" Big fat red bar telling you your lines are too long " Big fat red bar telling you your lines are too long
set colorcolumn=80 if version >= 703
set colorcolumn=80
endif
" Open windows with `:vsplit` on the right instead of the left " Open windows with `:vsplit` on the right instead of the left
set splitright set splitright
" Backups are annoying. Use Mercurial! " Backups are annoying. Use Mercurial!