1
0
mirror of https://github.com/amix/vimrc synced 2025-06-24 07:44:59 +08:00

Updated vimrc

This commit is contained in:
amix
2015-07-13 11:22:46 +01:00
parent 9a2843c2a5
commit d7752b59ae
301 changed files with 4699 additions and 7969 deletions

View File

@ -51,12 +51,6 @@ function! SyntaxCheckers_perl_perl_IsAvailable() dict
endfunction
function! SyntaxCheckers_perl_perl_GetLocList() dict
if !exists('g:syntastic_enable_perl_checker') || !g:syntastic_enable_perl_checker
call syntastic#log#error('checker perl/perl: checks disabled for security reasons; ' .
\ 'set g:syntastic_enable_perl_checker to 1 to override')
return []
endif
if type(g:syntastic_perl_lib_path) == type('')
call syntastic#log#oneTimeWarn('variable g:syntastic_perl_lib_path should be a list')
let includes = split(g:syntastic_perl_lib_path, ',')
@ -91,7 +85,8 @@ endfunction
call g:SyntasticRegistry.CreateAndRegisterChecker({
\ 'filetype': 'perl',
\ 'name': 'perl'})
\ 'name': 'perl',
\ 'enable': 'enable_perl_checker'})
let &cpo = s:save_cpo
unlet s:save_cpo

View File

@ -10,7 +10,7 @@
"
"============================================================================
if exists("g:loaded_syntastic_perl_perlcritic_checker")
if exists('g:loaded_syntastic_perl_perlcritic_checker')
finish
endif
let g:loaded_syntastic_perl_perlcritic_checker = 1

View File

@ -10,7 +10,7 @@
"
"============================================================================
if exists("g:loaded_syntastic_perl_podchecker_checker")
if exists('g:loaded_syntastic_perl_podchecker_checker')
finish
endif
let g:loaded_syntastic_perl_podchecker_checker = 1