Vim plugin for c_formatter_42.
call plug#begin()
Plug 'cacharle/c_formatter_42.vim'
call plug#end()
git clone https://github.com/cacharle/c_formatter_42.vim
cd c_formatter_42.vim
./install
There is an
./uninstall
script aswell
Execute :CFormatter42
or press F2
to format the current file.
Add the following lines to your .vimrc
if you want to enable these options.
Set c_formatter_42
has the default formatter (you can use gg=G
or enter visual mode and =
).
let g:c_formatter_42_set_equalprg=1
let g:c_formatter_42_format_on_save=0
:Norminette
in a C file.