Stop git from changing line endings on Windows and add support for editorconfig in vim

This commit is contained in:
2023-03-16 16:26:18 -04:00
parent 4464e4f681
commit 28c88ca5f1
5 changed files with 59 additions and 6 deletions

21
.editorconfig Normal file
View File

@@ -0,0 +1,21 @@
# EditorConfig helps developers define and maintain consistent
# coding styles # between different editors and IDEs
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.bat]
end_of_line = crlf
[*.tsv]
indent_style = tab