Add missing expand() for perltidyrc

This commit is contained in:
Manpreet Singh 2018-09-07 13:34:15 -07:00 committed by GitHub
parent b8173cde86
commit db967ab583
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -414,7 +414,7 @@ if !exists('g:formatdef_perltidy')
\ filereadable($HOMEPATH."/perltidy.ini"))) || \ filereadable($HOMEPATH."/perltidy.ini"))) ||
\ ((has("unix") || \ ((has("unix") ||
\ has("mac")) && (filereadable(".perltidyrc") || \ has("mac")) && (filereadable(".perltidyrc") ||
\ filereadable("~/.perltidyrc") || \ filereadable(expand("~/.perltidyrc")) ||
\ filereadable("/usr/local/etc/perltidyrc") || \ filereadable("/usr/local/etc/perltidyrc") ||
\ filereadable("/etc/perltidyrc"))) \ filereadable("/etc/perltidyrc")))
let g:formatdef_perltidy = '"perltidy -q -st"' let g:formatdef_perltidy = '"perltidy -q -st"'