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

master
Dustin C. Hatch 2011-12-28 15:18:44 -06:00
parent b5206063de
commit d6048b1758
1 changed files with 5 additions and 1 deletions

View File

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