dfilter: Convert grammar.lemon to 4-space indentation

Add global EditorConfig settings for lemon files.

Add exceptions for the two grammar files that use tab indentation.
This commit is contained in:
João Valverde 2021-12-01 19:45:30 +00:00 committed by João Valverde
parent aadf4efcbe
commit 60e305d1e1
4 changed files with 140 additions and 128 deletions

View File

@ -31,6 +31,11 @@ indent_size = 8
indent_style = space
indent_size = 4
# Lemon
[*.lemon]
indent_style = space
indent_size = 4
# WiX. The `xmllint --format` default is two spaces.
[*.wx?]
indent_style = space

View File

@ -40,6 +40,10 @@ indent_size = tab
[disabled_protos.[ch]]
indent_size = 2
[dtd_grammar.lemon]
indent_style = tab
indent_size = tab
[epan.[ch]]
indent_style = tab
indent_size = tab

View File

@ -0,0 +1,3 @@
[mate_grammar.lemon]
indent_style = tab
indent_size = tab