diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..079738c --- /dev/null +++ b/.editorconfig @@ -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 diff --git a/C/watl.v0.msvc.md b/C/watl.v0.msvc.md index 1bae005..fe05352 100644 --- a/C/watl.v0.msvc.md +++ b/C/watl.v0.msvc.md @@ -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__)) \ } ```