436017bd4d
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.
28 lines
544 B
Bash
Executable File
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"
|