Runtime file updates.

This commit is contained in:
Bram Moolenaar
2010-08-14 21:57:32 +02:00
parent e00289df69
commit abf39e880d
3 changed files with 10 additions and 22 deletions

View File

@ -40,25 +40,6 @@ setlocal define=[^A-Za-z_]
" set isfname-=:
set isfname+=:
" Set this once, globally.
if !exists("perl6path")
if executable("perl6")
if &shellxquote != '"'
let perl6path = system('perl6 -e "print join(q/,/,@*INC)"')
else
let perl6path = system("perl6 -e 'print join(q/,/,@*INC)'")
endif
let perl6path = substitute(perl6path,',.$',',,','')
else
" If we can't call perl6 to get its path, just default to using the
" current directory and the directory of the current file.
let perl6path = ".,,"
endif
endif
let &l:path=perl6path
"---------------------------------------------
" Undo the stuff we changed.
let b:undo_ftplugin = "setlocal fo< com< cms< inc< inex< def< isk<" .
\ " | unlet! b:browsefilter"