Skip to content

Commit

Permalink
Add .editorconfig
Browse files Browse the repository at this point in the history
Add a basic .editorconfig file so that my editor stops inserting final
newlines into the lexer .xml files which do not have them.
  • Loading branch information
silverwind authored and alecthomas committed Oct 5, 2022
1 parent 1da7ff5 commit f3aeb99
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
@@ -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

0 comments on commit f3aeb99

Please sign in to comment.