From ec80d83e71e7e0d6c83ad7faed17a1cd5a2f48a6 Mon Sep 17 00:00:00 2001 From: Gianni Chiappetta Date: Wed, 13 Jan 2021 21:37:08 -0500 Subject: [PATCH] feat(rc): improve graphql field arguments highlighter --- rc/filetype/graphql.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/graphql.kak b/rc/filetype/graphql.kak index 18a77d7a..d704a23c 100644 --- a/rc/filetype/graphql.kak +++ b/rc/filetype/graphql.kak @@ -43,7 +43,7 @@ add-highlighter shared/graphql/object region -recurse \{ [{] [}] regions add-highlighter shared/graphql/object/line-description region '#' '\n' fill comment add-highlighter shared/graphql/object/block-description region '"""' '"""' fill comment add-highlighter shared/graphql/object/field default-region group -add-highlighter shared/graphql/object/field/ regex ([A-Za-z][A-Za-z0-9_-]*)(?:\([\w\d\h,:$=]*\))?\h*[:{] 1:attribute +add-highlighter shared/graphql/object/field/ regex ([A-Za-z][A-Za-z0-9_-]*)(?:\([\w\d\h,:$=!"_]*\))?\h*[:{] 1:attribute add-highlighter shared/graphql/object/field/ regex ^\h*([A-Za-z][A-Za-z0-9_-]*)\h*$ 1:attribute # Values