File type detection is needed in certain cases in .vimrc.
This commit is contained in:
parent
2bc932cbb5
commit
b94703b3d8
12
vimrc
12
vimrc
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user