From dbf66181456a1cbeaf4311fc09c1103926a742a2 Mon Sep 17 00:00:00 2001 From: nub31 Date: Thu, 22 May 2025 19:56:58 +0200 Subject: [PATCH] ... --- tools/syntax-highlighting/build.sh | 0 tools/syntax-highlighting/package.json | 7 ++++++- tools/syntax-highlighting/syntaxes/nub.tmLanguage.json | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) mode change 100644 => 100755 tools/syntax-highlighting/build.sh diff --git a/tools/syntax-highlighting/build.sh b/tools/syntax-highlighting/build.sh old mode 100644 new mode 100755 diff --git a/tools/syntax-highlighting/package.json b/tools/syntax-highlighting/package.json index e4b08d5..a988628 100644 --- a/tools/syntax-highlighting/package.json +++ b/tools/syntax-highlighting/package.json @@ -2,8 +2,13 @@ "name": "nub-lang", "displayName": "Nub Language Support", "description": "Syntax highlighting for Nub programming language", - "version": "0.1.0", + "version": "0.0.0", "publisher": "nub31", + "repository": { + "type": "git", + "url": "https://git.oliste.no/nub31/nub-lang" + }, + "license": "MIT", "engines": { "vscode": "^1.74.0" }, diff --git a/tools/syntax-highlighting/syntaxes/nub.tmLanguage.json b/tools/syntax-highlighting/syntaxes/nub.tmLanguage.json index 9c1c874..489b93c 100644 --- a/tools/syntax-highlighting/syntaxes/nub.tmLanguage.json +++ b/tools/syntax-highlighting/syntaxes/nub.tmLanguage.json @@ -56,7 +56,7 @@ "patterns": [ { "name": "keyword.control.nub", - "match": "\\b(if|else|while|for|break|continue|return)\\b" + "match": "\\b(if|else|while|break|continue|return)\\b" }, { "name": "keyword.other.nub", @@ -76,7 +76,7 @@ "patterns": [ { "name": "storage.type.primitive.nub", - "match": "\\b(int|float|double|char|bool|string|void)\\b" + "match": "\\b(i8|i16|i32|i64|u8|u16|u32|u64|f32|f64|bool|string)\\b" }, { "name": "storage.type.array.nub",