8 lines
269 B
VimL
8 lines
269 B
VimL
"Set the formatter name and arguments for this filetype
|
|
let s:prgname = "astyle"
|
|
let s:arguments = "--mode=cpp --style=ansi"
|
|
|
|
"Set the formatprg option, if the formatter is installed
|
|
"globally or in the formatters/ folder
|
|
call g:FindFormatter(s:prgname, s:arguments)
|