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"