aboutsummaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2019-03-29 16:16:04 +0100
committerSimon Rozman <simon@rozman.si>2019-03-29 16:23:24 +0100
commitf6972f147cc6d4728a014f0eca5eb6f6ca93ea91 (patch)
treefd3db85fa444606c6e0ab7549f63c9759ad55aa9 /.editorconfig
parentUse tabs for indentation and spaces for horizontal alignment (diff)
downloadwintun-f6972f147cc6d4728a014f0eca5eb6f6ca93ea91.tar.xz
wintun-f6972f147cc6d4728a014f0eca5eb6f6ca93ea91.zip
Reintroduce .editorconfig and suggest tab usage
This time we don't impose 8-space tabulators, but merely suggest text editors to use tabulator indenting. Otherwise, Visual Studio IDE configured to use spaces instead of tabulators keeps corrupting indentation. Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..ddceb3c
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,2 @@
+[*.{c,h,inf}]
+indent_style = tab