diff options
| -rw-r--r-- | lockfile.json | 2 | ||||
| -rw-r--r-- | queries/t32/highlights.scm | 3 | ||||
| -rw-r--r-- | queries/t32/indents.scm | 2 | ||||
| -rw-r--r-- | tests/query/highlights/t32/keywords.cmm | 4 |
4 files changed, 9 insertions, 2 deletions
diff --git a/lockfile.json b/lockfile.json index 1fde53c3c..e639813f2 100644 --- a/lockfile.json +++ b/lockfile.json @@ -687,7 +687,7 @@ "revision": "1af543a96d060b1f808982037bfc54cc02218edd" }, "t32": { - "revision": "8487a14874f3e3138877655f303322d9e7222cec" + "revision": "6182836f4128725f1e74ce986840d7317021a015" }, "tablegen": { "revision": "300f6a490e71f895e644ed2deec6920860a2e107" diff --git a/queries/t32/highlights.scm b/queries/t32/highlights.scm index 3ddce588a..1e7b420f0 100644 --- a/queries/t32/highlights.scm +++ b/queries/t32/highlights.scm @@ -208,6 +208,9 @@ (if_block command: (identifier) @keyword.conditional) +(elif_block + command: (identifier) @keyword.conditional) + (else_block command: (identifier) @keyword.conditional) diff --git a/queries/t32/indents.scm b/queries/t32/indents.scm index b30b916d2..01d5f3967 100644 --- a/queries/t32/indents.scm +++ b/queries/t32/indents.scm @@ -6,6 +6,8 @@ (if_block (block)) @indent.dedent +(elif_block) @indent.branch + (else_block) @indent.branch (else_block diff --git a/tests/query/highlights/t32/keywords.cmm b/tests/query/highlights/t32/keywords.cmm index f04df3ed1..d1516eb29 100644 --- a/tests/query/highlights/t32/keywords.cmm +++ b/tests/query/highlights/t32/keywords.cmm @@ -41,7 +41,9 @@ ELSE IF !&pass GOTO fail ; ^ @label - ELSE + ELSE IF &debug +; ^ @keyword.conditional +; ^ @keyword.conditional ( GOSUB start_debug ; ^ @function.call |
