1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-03-17 20:58:08 +02:00

Add .editorconfig

Add a basic .editorconfig file so that my editor stops inserting final
newlines into the lexer .xml files which do not have them.
This commit is contained in:
silverwind 2022-10-05 18:18:05 +02:00 committed by Alec Thomas
parent 1da7ff5150
commit f3aeb99ea9

13
.editorconfig Normal file
View File

@ -0,0 +1,13 @@
root = true
[*]
indent_style = tab
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.xml]
indent_style = space
indent_size = 2
insert_final_newline = false