From b94703b3d86ec71b880c64a0db43047eb066d227 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Fri, 9 Apr 2010 15:23:16 -0500 Subject: [PATCH] File type detection is needed in certain cases in .vimrc. --- vimrc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/vimrc b/vimrc index 930fd8d..d4559a1 100644 --- a/vimrc +++ b/vimrc @@ -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.