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. set t_Co=256 " Set to 256 color mode.
syntax on " Enable syntax highlighting. syntax on " Enable syntax highlighting.
colorscheme darkburn " Set color scheme. colorscheme darkburn " Set color scheme.
set number " Enable line numbering. set nonumber " Enable line numbering.
else
filetype on
endif endif
if has("gui_running") if has("gui_running")
:colorscheme inkpot colorscheme inkpot
":set guifont=Menlo\ Bold "set guifont=Menlo\ Bold
":set guifont=Bitstream\ Vera\ Sans\ Mono\ Bold "set guifont=Bitstream\ Vera\ Sans\ Mono\ Bold
:set guifont=DejaVu\ Sans\ Mono\ Bold set guifont=DejaVu\ Sans\ Mono\ Bold
syntax on syntax on
endif endif
set nowrap " Disable word wrap. set nowrap " Disable word wrap.