Skip to content

Commit

Permalink
Update .editorconfig
Browse files Browse the repository at this point in the history
- Duplicated configuration for C/C++

- Add configuration for cmake
  • Loading branch information
Costallat authored Nov 29, 2023
1 parent 162ecbc commit 913fb1f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
# O Visual Studio gerou o arquivo .editorconfig com configurações de C++.
root = true

[*.{c++,cc,cpp,cppm,cxx,h,h++,hh,hpp,hxx,inl,ipp,ixx,tlh,tli}]

# Configurações de Estilo de Código de Visual C++

cpp_generate_documentation_comments = xml

# Configurações de Formatação do Visual C++

cpp_indent_braces = false
Expand Down Expand Up @@ -68,11 +63,13 @@ cpp_space_pointer_reference_alignment = left
cpp_space_around_ternary_operator = insert
cpp_wrap_preserve_blocks = all_one_line_scopes

root = true

[*.{c++,cc,cpp,cppm,cxx,h,h++,hh,hpp,hxx,inl,ipp,ixx,tlh,tli}]

# Configurações de Estilo de Código de Visual C++

cpp_generate_documentation_comments = none
cpp_generate_documentation_comments = xml

# Configurações de Formatação do Visual C++

Expand Down Expand Up @@ -134,3 +131,7 @@ cpp_space_around_assignment_operator = insert
cpp_space_pointer_reference_alignment = left
cpp_space_around_ternary_operator = insert
cpp_wrap_preserve_blocks = all_one_line_scopes

[CMakeLists.txt]
indent_size = 2
indent_style = tab

0 comments on commit 913fb1f

Please sign in to comment.