File type detection is needed in certain cases in .vimrc.

This commit is contained in:
Ryan Cavicchioni 2010-04-09 15:23:16 -05:00
parent 2bc932cbb5
commit b94703b3d8

12
vimrc
View File

@ -2,13 +2,15 @@ if $MONO != "yes"
set t_Co=256 " Set to 256 color mode.
syntax on " Enable syntax highlighting.
colorscheme darkburn " Set color scheme.
set number " Enable line numbering.
set nonumber " Enable line numbering.
else
filetype on
endif
if has("gui_running")
:colorscheme inkpot
":set guifont=Menlo\ Bold
":set guifont=Bitstream\ Vera\ Sans\ Mono\ Bold
:set guifont=DejaVu\ Sans\ Mono\ Bold
colorscheme inkpot
"set guifont=Menlo\ Bold
"set guifont=Bitstream\ Vera\ Sans\ Mono\ Bold
set guifont=DejaVu\ Sans\ Mono\ Bold
syntax on
endif
set nowrap " Disable word wrap.