aboutsummaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-06-17 13:40:55 +0200
committertgingold <tgingold@users.noreply.github.com>2021-06-17 21:24:28 +0200
commit1eea725dedae1fe3eee47c2b4bfc18c7ac35e806 (patch)
tree3ae4e19379665f6b87c6ad2006d211dd96d5a408 /.editorconfig
parentbbc2055c97526a53c895214fd09caeace95e56fa (diff)
downloadghdl-1eea725dedae1fe3eee47c2b4bfc18c7ac35e806.tar.gz
ghdl-1eea725dedae1fe3eee47c2b4bfc18c7ac35e806.tar.bz2
ghdl-1eea725dedae1fe3eee47c2b4bfc18c7ac35e806.zip
Added editor configuration file.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig33
1 files changed, 33 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000..6c2b9ad94
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,33 @@
+root = true
+
+[*]
+charset = utf-8
+# end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+indent_style = tab
+indent_size = 2
+tab_width = 2
+
+[*.py]
+indent_style = space
+indent_size = 4
+
+[*.{ps1, psm1}]
+indent_style = tab
+indent_size = 2
+
+[*.{yml,yaml}]
+indent_style = space
+indent_size = 2
+
+[*.{json,ini}]
+indent_style = tab
+indent_size = 2
+
+[*.md]
+trim_trailing_whitespace = false
+
+[*.rst]
+indent_style = space
+indent_size = 3