aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
Commit message (Collapse)AuthorAge
* build: align .clang-format rules with uncrustify configTom Praschan2023-05-28
| | | | | | | | | | | | | 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
* docs(clang-format): one space in directives indent (#18800)kylo2522022-05-30
| | | | | PPIndentWidth The number of columns to use for indentation of preprocessor statements. When set to -1 (default) IndentWidth is used also for preprocessor statements.
* refactor: missing parenthesis may cause unexpected problems (#17443)kylo2522022-05-26
| | | related vim-8.2.{4402,4639}
* refactor(build): remove unused includes #17078kylo2522022-04-26
| | | | Remove unused includes in src/nvim/buffer.c|h using the IWYU library. Yet another step towards #6371 and #549
* build(clang-format): align with project style #18192dundargoc2022-04-23
|
* chore: align clang-format configuration with clintkylo2522022-03-09
| | | | | | Some additional tweaks to make clang-format more compatible with `clint.py` rules. This is especially useful for range-formatting with `clangd`.
* ci: increase clint line length limit to 100 characters (#15252)dundargoc2021-08-16
|
* lint: src/.clang-formatJustin M. Keyes2018-11-28
Move to top level so that clang-format -style=file can find it regardless of current directory.