Add doxygen and formatting/options for neovim

This commit is contained in:
Cory Balaton 2023-10-28 14:58:13 +02:00
parent 1a98f9144f
commit 05a7b5aa06
No known key found for this signature in database
GPG Key ID: 3E5FCEBFD80F432B
3 changed files with 2822 additions and 0 deletions

44
.clang-format Normal file
View File

@ -0,0 +1,44 @@
# Set the language to C++
Language: Cpp
# Set the language standard to C++11
Standard: Cpp11
# Never use tab for indentation
UseTab: Never
# Set the indent width to be 4 columns
IndentWidth: 4
# Set tab width to be 4 columns
TabWidth: 4
# Set access modifier (public, private, protected) offset to indent left
AccessModifierOffset: -4
# Stop indentation of access modifiers
IndentAccessModifiers: false
# Don't allow a function to be defined on a single line
AllowShortFunctionsOnASingleLine: false
# Set the column limit to 80 characters
ColumnLimit: 80
# If an expression has to be split, then split before binary operators unless
# it's an assignment operator.
BreakBeforeBinaryOperators: NonAssignment
# Use a Linux style brace break.
# Break before braces on function, namespace and class definitions.
BreakBeforeBraces: Linux
# If true, spaces will be inserted after ( and before ).
SpacesInParentheses: false
# If true, spaces will be inserted after [ and before ].
SpacesInSquareBrackets: false
# Separate definition blocks (classes, functions, structs, enums)
SeparateDefinitionBlocks: Always

2
.clangd Normal file
View File

@ -0,0 +1,2 @@
CompileFlags:
Add: [-I../include, -I/usr/include/openmpi-x86_64]

2776
Doxyfile Normal file

File diff suppressed because it is too large Load Diff