From f6d2a3f463bba1030c11678da6bd7c00f13a1adf Mon Sep 17 00:00:00 2001 From: Chiel92 Date: Fri, 8 Mar 2013 17:11:53 +0100 Subject: [PATCH] defaults changed --- plugin/formatprgdefaults.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin/formatprgdefaults.vim b/plugin/formatprgdefaults.vim index 92c8320..f6fd59d 100644 --- a/plugin/formatprgdefaults.vim +++ b/plugin/formatprgdefaults.vim @@ -1,11 +1,11 @@ let g:formatprg_cs = "astyle" -let g:formatprg_args_cs = "--mode=cs --style=ansi" +let g:formatprg_args_cs = "--mode=cs --style=ansi -p -P -c" let g:formatprg_c = "astyle" -let g:formatprg_args_c = "--mode=c --style=ansi" +let g:formatprg_args_c = "--mode=c --style=ansi -p -P -c" let g:formatprg_cpp = "astyle" -let g:formatprg_args_cpp = "--mode=c --style=ansi" +let g:formatprg_args_cpp = "--mode=c --style=ansi -p -P -c" let g:formatprg_java = "astyle" -let g:formatprg_args_java = "--mode=java --style=ansi" +let g:formatprg_args_java = "--mode=java --style=ansi -p -P -c" let g:formatprg_php = "phpCB" let g:formatprg_args_php = "--space-after-if --space-after-switch --space-after-while --space-before-start-angle-bracket --space-after-end-angle-bracket --one-true-brace-function-declaration --glue-amperscore --change-shell-comment-to-double-slashes-comment --force-large-php-code-tag --force-true-false-null-contant-lowercase --align-equal-statements --comment-rendering-style PEAR --equal-align-position 50 --padding-char-count 4" let g:formatprg_python = "autopep8"