Skip to content

Instantly share code, notes, and snippets.

@Kesin11
Created June 22, 2014 15:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kesin11/5c5b793a2bf5db8d44c1 to your computer and use it in GitHub Desktop.
Save Kesin11/5c5b793a2bf5db8d44c1 to your computer and use it in GitHub Desktop.
" syntasticとvim-quickrunをCartonに対応させるvimec
" thinca/vim-localrcをインストールし、Cartonで管理しているAmon2プロジェクトなどのlibがあるディレクトリに.local.vimrcとして置く
let carton_path = system('carton exec perl -e "print join(q/,/,@INC)"')
let lib_path = fnamemodify(finddir("lib", ";"), ":p")
let g:syntastic_perl_lib_path = join([carton_path, lib_path], ',')
let g:quickrun_config = {
\ 'perl' : {
\ 'cmdopt': '-Ilib',
\ 'exec': 'carton exec perl %o %s',
\ },
\}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment