From 38e961870b21e078528ede875af30489293bc77a Mon Sep 17 00:00:00 2001 From: William Bell Date: Mon, 7 Aug 2023 13:24:27 +0100 Subject: [PATCH] add none to --- README.md | 12 +++++++++++- syntaxes/argon.tmLanguage.json | 2 +- test.ar | 2 -- 3 files changed, 12 insertions(+), 4 deletions(-) delete mode 100644 test.ar diff --git a/README.md b/README.md index abee90e..e80305d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,13 @@ # Argon Syntax Highlighting for VS Code -This extension adds syntax highlighting for the Argon Programming Language to VS Code. \ No newline at end of file +This extension adds syntax highlighting for the Argon Programming Language to VS Code. + +## Features + +- Syntax highlighting for Argon files + +## How to use + +1. Install the extension +2. Open/Make a file with the `.ar` extension +3. Enjoy! diff --git a/syntaxes/argon.tmLanguage.json b/syntaxes/argon.tmLanguage.json index 3ef0dd5..18c182b 100644 --- a/syntaxes/argon.tmLanguage.json +++ b/syntaxes/argon.tmLanguage.json @@ -135,7 +135,7 @@ }, { "name": "support.function.argon", - "match": "\\b(global|term|file|π|PI|e|√|ArgonVersion|number|string|socket|infinity|map|hex|buffer|throwError|array|boolean|time|ln|log|logN|thread|input|round|floor|ceil|sqrt|file|random|json|sin|arcsin|cos|arccos|tan|arctan|cosec|arccosec|sec|arcsec|cot|arccot|todeg|colour|torad|abs|fraction|dir|subprocess|sequence|exit|error|chr|ord|max|min|path|typeof|sha256)\\b" + "match": "\\b(global|term|file|π|PI|e|√|ArgonVersion|number|string|socket|infinity|map|hex|buffer|throwError|array|boolean|time|ln|log|logN|thread|input|round|floor|ceil|sqrt|file|random|json|sin|arcsin|cos|arccos|tan|arctan|cosec|arccosec|sec|arcsec|cot|arccot|todeg|colour|torad|abs|fraction|dir|subprocess|sequence|exit|error|chr|ord|max|min|path|typeof|sha256|program)\\b" }, { "name": "variable.name.argon", diff --git a/test.ar b/test.ar deleted file mode 100644 index d622765..0000000 --- a/test.ar +++ /dev/null @@ -1,2 +0,0 @@ -f(x) = x^2 + 2*x + 1 -term.log('f(10) =', f(10)) \ No newline at end of file