From db967ab58310d2e11870697961cd12ed0ddba736 Mon Sep 17 00:00:00 2001 From: Manpreet Singh Date: Fri, 7 Sep 2018 13:34:15 -0700 Subject: [PATCH] Add missing expand() for perltidyrc --- plugin/defaults.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/defaults.vim b/plugin/defaults.vim index 8c9ef7c..0588dcf 100644 --- a/plugin/defaults.vim +++ b/plugin/defaults.vim @@ -414,7 +414,7 @@ if !exists('g:formatdef_perltidy') \ filereadable($HOMEPATH."/perltidy.ini"))) || \ ((has("unix") || \ has("mac")) && (filereadable(".perltidyrc") || - \ filereadable("~/.perltidyrc") || + \ filereadable(expand("~/.perltidyrc")) || \ filereadable("/usr/local/etc/perltidyrc") || \ filereadable("/etc/perltidyrc"))) let g:formatdef_perltidy = '"perltidy -q -st"'