remove sourceing of cf5-opt.vim. I am going to replace it with local .vimrc
This commit is contained in:
@@ -1,12 +1,16 @@
|
|||||||
|
"
|
||||||
|
"
|
||||||
" {{{1
|
" {{{1
|
||||||
" Functions to compile and link a single c/cpp file.
|
" Functions to compile and link a single c/cpp/java files.
|
||||||
"
|
"
|
||||||
" let g:cf5output
|
" let g:cf5output
|
||||||
" =0 - no output window opened.
|
" =0 - no output window opened.
|
||||||
" =1 - ouput window opened.
|
" =1 - ouput window opened.
|
||||||
"
|
"
|
||||||
"if exists("g:loaded_vahagn_compiler") | finish | endif
|
if exists('g:loaded_cf5_compiler')
|
||||||
let g:loaded_vahagn_compiler = 1
|
finish
|
||||||
|
endif
|
||||||
|
let g:loaded_cf5_compiler = 1
|
||||||
|
|
||||||
"
|
"
|
||||||
" Make sure let-modeline.vim is loaded.
|
" Make sure let-modeline.vim is loaded.
|
||||||
@@ -212,13 +216,6 @@ function! CF5Compile(run)
|
|||||||
"
|
"
|
||||||
call s:initDefaults()
|
call s:initDefaults()
|
||||||
"
|
"
|
||||||
" Source compile-opt.vim if exists.
|
|
||||||
"
|
|
||||||
verbose let l:copt=expand("%:p:h")."/cf5-opt.vim"
|
|
||||||
if filereadable(l:copt)
|
|
||||||
exec ":source ".l:copt
|
|
||||||
endif
|
|
||||||
"
|
|
||||||
" Set source specific compiler options.
|
" Set source specific compiler options.
|
||||||
"
|
"
|
||||||
call FirstModeLine()
|
call FirstModeLine()
|
||||||
|
|||||||
Reference in New Issue
Block a user