summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAccess <ShootingStarDragons@protonmail.com>2022-07-09 19:33:01 +0800
committerGitHub <noreply@github.com>2022-07-09 13:33:01 +0200
commite5995d3643074f044ea1d23ceab660a5c5c2f8ba (patch)
tree7dc10d92405c5bb0c3dcf92c45ce8b3733193944
parent9a87c20ce95d4bd6cfca9c729f1f13442aa4d191 (diff)
fix(exception): erlang exception (#3150)
-rw-r--r--queries/erlang/highlights.scm9
1 files changed, 6 insertions, 3 deletions
diff --git a/queries/erlang/highlights.scm b/queries/erlang/highlights.scm
index 713e4fea..b9b1eb77 100644
--- a/queries/erlang/highlights.scm
+++ b/queries/erlang/highlights.scm
@@ -16,9 +16,6 @@
;; conditional
[
"receive"
- "try"
- "throw"
- "catch"
"if"
"case"
"of"
@@ -26,6 +23,12 @@
"after"
"end"
] @conditional
+
+[
+ "catch"
+ "try"
+ "throw"
+] @exception
;;; module define
[
"module"