From a6699ceea1a031b4e2181fb4970df401210a721f Mon Sep 17 00:00:00 2001 From: JenChieh Date: Sat, 6 Feb 2021 13:08:59 +0800 Subject: [PATCH 1/5] Add comparison operators --- queries/highlights.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/queries/highlights.scm b/queries/highlights.scm index 23623a62..be1241af 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -123,12 +123,17 @@ "++" "+=" "<" + "<=" "<<" "=" "==" "===" + "!" + "!=" + "!==" "=>" ">" + ">=" ">>" "||" ] @operator From 8629ea4248aa80a3c6f3aa87463cd9c7ed658c59 Mon Sep 17 00:00:00 2001 From: steven nguyen <58114641+icecream17@users.noreply.github.com> Date: Sat, 6 Feb 2021 11:14:58 -0600 Subject: [PATCH 2/5] ALL the operators ...uh this is a lot. This might be kinda silly. Ternary is an operator, but that's not included because of ":". typeof, in, void, they're operators, but they're also keywords, so i'm not changing those either. --- queries/highlights.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/queries/highlights.scm b/queries/highlights.scm index be1241af..cabe9942 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -118,13 +118,21 @@ "--" "-" "-=" - "&&" "+" "++" "+=" + "*" + "*=" + "**" + "**=" + "/" + "/=" + "%" + "%=" "<" "<=" "<<" + "<<=" "=" "==" "===" @@ -135,7 +143,21 @@ ">" ">=" ">>" + ">>=" + ">>>" + ">>>=" + "^" + "&" + "|" + "^=" + "&=" + "|=" + "&&" "||" + "??" + "&&=" + "||=" + "??=" ] @operator [ From edd1bd5463c4a9fbbb31f82d4022cc2cbaaf5806 Mon Sep 17 00:00:00 2001 From: steven nguyen <58114641+icecream17@users.noreply.github.com> Date: Sat, 6 Feb 2021 11:31:23 -0600 Subject: [PATCH 3/5] visual consistency [skip ci] --- queries/highlights.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queries/highlights.scm b/queries/highlights.scm index cabe9942..bde8907e 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -115,8 +115,8 @@ ] @punctuation.delimiter [ - "--" "-" + "--" "-=" "+" "++" From c35b1fb126c62a339dbc3dfe5fdd0600c63bfb16 Mon Sep 17 00:00:00 2001 From: steven nguyen <58114641+icecream17@users.noreply.github.com> Date: Sat, 6 Feb 2021 11:34:06 -0600 Subject: [PATCH 4/5] Forgot bitwise not --- queries/highlights.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/queries/highlights.scm b/queries/highlights.scm index bde8907e..74ce1dcf 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -146,6 +146,7 @@ ">>=" ">>>" ">>>=" + "~" "^" "&" "|" From f0c9ca9c0eb9c7bafad7bfc19c3c331442d48381 Mon Sep 17 00:00:00 2001 From: steven nguyen Date: Wed, 24 Feb 2021 08:10:19 -0600 Subject: [PATCH 5/5] manual action --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 47874e11..379ca835 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,7 @@ name: build on: + workflow_dispatch: push: pull_request: branches: