aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorDaniil Rozanov <dev@drozanov.info>2024-11-13 02:22:42 +0400
committerDaniil Rozanov <dev@drozanov.info>2024-11-13 02:22:42 +0400
commit1aefeaf491c94aec00bb8efec313762e23c7a862 (patch)
tree1a58d38787fabd290f880a199d7c4b17a5db2a0c /.editorconfig
parent1fd98796b9756235968329d6f90f8eaeef15fde6 (diff)
editorconfig + fix nvim whichkey
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..6a637a0
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,18 @@
+root = true
+
+# Unix-style newlines with a newline ending every file
+[*]
+end_of_line = lf
+insert_final_newline = true
+charset = utf-8
+indent_size = 2
+indent_style = space
+
+# 4 space indentation
+[*.py]
+indent_style = space
+indent_size = 4
+
+# Tab indentation (no size specified)
+[Makefile]
+indent_style = tab