Tom Praschan
d561830a52
build: align .clang-format rules with uncrustify config
...
Difference can be seen e.g. in qf_add_entry(), where clang-format
previously would want to place each parameter declaration on its own
line (BinPackParameter: false), while uncrustify behaves if as
BinPackParameters was set to true.
Same goes for BinPackArguments.
See
https://clang.llvm.org/docs/ClangFormatStyleOptions.html#BinPackParameters
and
https://clang.llvm.org/docs/ClangFormatStyleOptions.html#binpackarguments
2023-05-28 15:39:43 +02:00
kylo252
e86901eb68
docs(clang-format): one space in directives indent ( #18800 )
...
PPIndentWidth
The number of columns to use for indentation of preprocessor statements.
When set to -1 (default) IndentWidth is used also for preprocessor statements.
2022-05-30 23:49:11 +08:00
kylo252
7b952793d5
refactor: missing parenthesis may cause unexpected problems ( #17443 )
...
related vim-8.2.{4402,4639}
2022-05-26 10:49:25 +08:00
kylo252
0d41c4dee1
refactor(build): remove unused includes #17078
...
Remove unused includes in src/nvim/buffer.c|h using the IWYU library.
Yet another step towards #6371 and #549
2022-04-26 21:38:12 -07:00
dundargoc
843d9223a1
build(clang-format): align with project style #18192
2022-04-23 20:48:38 -07:00
kylo252
ac91c56085
chore: align clang-format configuration with clint
...
Some additional tweaks to make clang-format more compatible with
`clint.py` rules.
This is especially useful for range-formatting with `clangd`.
2022-03-09 19:44:03 +08:00
dundargoc
7146103be2
ci: increase clint line length limit to 100 characters ( #15252 )
2021-08-16 15:32:36 +02:00
Justin M. Keyes
67305ffb5d
lint: src/.clang-format
...
Move to top level so that
clang-format -style=file
can find it regardless of current directory.
2018-11-28 03:48:06 +01:00