added clangd configuration
This commit is contained in:
parent
1ec7065449
commit
ef342527a5
4 changed files with 72 additions and 0 deletions
13
nix/nvim/lsp/clang-format-work
Normal file
13
nix/nvim/lsp/clang-format-work
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
#this syncronizes with settings used by neovims treesitters so that the lsp formatting and treesitter formatting do not fight eatch other.
|
||||
PointerAlignment: Left
|
||||
ColumnLimit: 80
|
||||
IndentWidth: 4
|
||||
TabWidth: 4
|
||||
UseCRLF: false
|
||||
UseTab: Never
|
||||
AlignAfterOpenBracket: BlockIndent
|
||||
AlwaysBreakBeforeMultilineStrings: true
|
||||
BreakBeforeBraces: Allman
|
||||
BreakBeforeBinaryOperators: None
|
||||
...
|
Loading…
Add table
Add a link
Reference in a new issue