YouCompleteMe/style_format.sh
Strahinja Val Markovic 436017bd4d Now using new ycm_client_support shared lib
This means we can now load just ycm_client_support (which is a much smaller
library) into Vim and ycm_core into ycmd. Since ycm_client_support never depends
on libclang.so, we never have to load that into Vim which makes things much,
much easier.
2013-10-15 14:15:04 -07:00

28 lines
544 B
Bash
Executable File

#!/bin/bash
astyle \
--style=attach \
--indent=spaces=2 \
--indent-switches \
--indent-col1-comments \
--indent-preprocessor \
--max-instatement-indent=80 \
--break-blocks \
--pad-oper \
--pad-paren-in \
--pad-header \
--keep-one-line-blocks \
--convert-tabs \
--align-pointer=name \
--align-reference=name \
--suffix=none \
--lineend=linux \
--recursive \
--exclude=gmock \
--exclude=testdata \
--exclude=ycm_client_support.cpp \
--exclude=ycm_core.cpp \
--exclude=CustomAssert.h \
--exclude=CustomAssert.cpp \
"cpp/ycm/*.cpp" \
"cpp/ycm/*.h"