From 29e088848abb1e98b9078c0607e8bbd36a1b9977 Mon Sep 17 00:00:00 2001 From: Chiel ten Brinke Date: Thu, 3 Dec 2015 17:19:25 +0100 Subject: [PATCH] Correct typo in perltidy definition. --- plugin/defaults.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin/defaults.vim b/plugin/defaults.vim index 7cc49f4..b922be4 100644 --- a/plugin/defaults.vim +++ b/plugin/defaults.vim @@ -29,7 +29,6 @@ if !exists('g:formatdef_clangformat') endif - " C if !exists('g:formatdef_astyle_c') let g:formatdef_astyle_c = '"astyle --mode=c --style=ansi -pcH".(&expandtab ? "s".shiftwidth() : "t")' @@ -215,7 +214,7 @@ endif " Perl if !exists('g:formatdef_perltidy') " use perltidyrc file if readable - if (has("win32") && (filereadable("perltid.ini") || filereadable($HOMEPATH."/perltidy.ini"))) || + if (has("win32") && (filereadable("perltidy.ini") || filereadable($HOMEPATH."/perltidy.ini"))) || \ ((has("unix") || has("mac")) && (filereadable(".perltidyrc") || filereadable("~/.perltidyrc") || filereadable("/usr/local/etc/perltidyrc") || filereadable("/etc/perltidyrc"))) let g:formatdef_perltidy = '"perltidy -q -st"' else