Permalink
Browse files

Check if perl6 is executable before calling it

  • Loading branch information...
1 parent 3fa41c0 commit 009495e91eafcc543fe896c234046ecdf9f5f554 @hoelzro hoelzro committed Dec 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ftplugin/perl6.vim
View
@@ -46,7 +46,7 @@ setlocal iskeyword=48-57,_,A-Z,a-z,:,-
" Set this once, globally.
if !exists("perlpath")
- if executable("perl")
+ if executable("perl6")
try
if &shellxquote != '"'
let perlpath = system('perl6 -e "@*INC.join(q/,/).say"')

0 comments on commit 009495e

Please sign in to comment.