mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
* CMake option C3_ENABLE_CLANGD_LSP The CMake option enables the generation of compile_commands.json in the build directory and the creation of a symlink in the root directory targeting the new file, this will allow the Clangd Language Server Protocol (LSP) to function properly. * Added .editorconfig EditorConfig helps maintain consistent coding styles: https://editorconfig.org/
29 lines
370 B
INI
29 lines
370 B
INI
# EditorConfig is awesome: https://editorconfig.org
|
|
|
|
root = true
|
|
|
|
[*]
|
|
charset = utf-8
|
|
end_of_line = lf
|
|
|
|
[CMakeLists.txt]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
[*.{c,cc,h}]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
[*.{c3}]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
[*.{json,toml,yml,gyp}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.{py,pyi}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|