forked from osmocom/wireshark
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:
parent
aadf4efcbe
commit
60e305d1e1
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
[mate_grammar.lemon]
|
||||
indent_style = tab
|
||||
indent_size = tab
|
Loading…
Reference in New Issue