editor config

This commit is contained in:
ed committed 2025-05-26 22:20:55 -04:00
1 parent 32ad6e11fe
commit 06a741ec34
2 files changed
+34 -1

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
root = true
[*.refactor]
indent_style = space
indent_size = 4
[*.md]
indent_style = space
indent_size = 4
[*.c]
indent_style = tab
indent_size = 4
[*.cpp]
indent_style = tab
indent_size = 4
[*.h]
indent_style = tab
indent_size = 4
[*.hpp]
indent_style = tab
indent_size = 4
[*.ps1]
indent_style = tab
indent_size = 4
[*.natvis]
indent_style = tab
indent_size = 4
+1 -1
View File
@@ -147,7 +147,7 @@ The actual macro uses farray helper macros:
```c
#define slice_arg_from_array(type, ...) & (tmpl(Slice,type)) { \
.ptr = farray_init(type, __VA_ARGS__), \
.len = farray_len( farray_init(type, __VA_ARGS__) \
.len = farray_len( farray_init(type, __VA_ARGS__)) \
}
```