From fbccc9dd15fc5f7f758fb1197f38e9a5ad8a09ab Mon Sep 17 00:00:00 2001 From: 0x4261756D <–38735823+0x4261756D@users.noreply.github.com> Date: Sat, 31 Dec 2022 16:14:52 +0100 Subject: [PATCH] Remove any from syntax highlighting --- editor/micro/kurz.yaml | 2 +- editor/vscode/kurz-lang/syntaxes/kurz.tmLanguage.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/micro/kurz.yaml b/editor/micro/kurz.yaml index e14123b..0ae4d46 100644 --- a/editor/micro/kurz.yaml +++ b/editor/micro/kurz.yaml @@ -21,7 +21,7 @@ rules: - symbol.brackets: "[{}]" # function - identifier: "function" - - type: "\\b(bool|int|str|any)\\b" + - type: "\\b(bool|int|str)\\b" - symbol.operator: "([-+<>]|==|!=|=>|print(ln)?)" - identifier: "\\b(if|else|while)\\b" - special: "\\b(deq|swp|dup|req|depth|decrease)\\b" diff --git a/editor/vscode/kurz-lang/syntaxes/kurz.tmLanguage.json b/editor/vscode/kurz-lang/syntaxes/kurz.tmLanguage.json index 42e58f1..d7cbc0b 100644 --- a/editor/vscode/kurz-lang/syntaxes/kurz.tmLanguage.json +++ b/editor/vscode/kurz-lang/syntaxes/kurz.tmLanguage.json @@ -33,7 +33,7 @@ }, { "name": "support.type.kurz", - "match": "\\b(bool|int|str|any)\\b" + "match": "\\b(bool|int|str)\\b" }, { "name": "constant.numeric.kurz",