dotfiles/neovim/.clang-format

15 lines
417 B
YAML

---
#this syncronizes with settings used by neovims treesitters so that the lsp formatting and treesitter formatting do not fight eatch other.
PointerAlignment: Left
ColumnLimit: 120
IndentWidth: 4
TabWidth: 4
UseCRLF: false
UseTab: AlignWithSpaces
AlignAfterOpenBracket: BlockIndent
AlwaysBreakBeforeMultilineStrings: true
BreakBeforeBraces: Attach
AlignOperands: Align
BreakBeforeBinaryOperators: NonAssignment
...