fix: improve indentation on GQL editors
This commit is contained in:
parent
c3b784c680
commit
127bd7318f
1 changed files with 11 additions and 7 deletions
|
|
@ -338,15 +338,17 @@ TypeSystemDirectiveLocation {
|
|||
| @specialize<Name, "INPUT_FIELD_DEFINITION">
|
||||
}
|
||||
|
||||
@skip { Whitespace | Comment }
|
||||
@skip { whitespace | Comment }
|
||||
|
||||
@tokens {
|
||||
Whitespace {
|
||||
whitespace {
|
||||
std.whitespace+
|
||||
}
|
||||
|
||||
StringValue {
|
||||
"\"\"\"" (!["] | "\\n" | "\"" "\""? !["])* "\"\"\"" | "\"" !["\\\n]* "\""
|
||||
}
|
||||
|
||||
IntValue {
|
||||
"-"? "0"
|
||||
| "-"? std.digit+
|
||||
|
|
@ -367,6 +369,8 @@ TypeSystemDirectiveLocation {
|
|||
Comma {
|
||||
","
|
||||
}
|
||||
|
||||
"{" "}" "[" "]"
|
||||
}
|
||||
|
||||
@detectDelim
|
||||
Loading…
Reference in a new issue