From e5995d3643074f044ea1d23ceab660a5c5c2f8ba Mon Sep 17 00:00:00 2001 From: Access Date: Sat, 9 Jul 2022 19:33:01 +0800 Subject: fix(exception): erlang exception (#3150) --- queries/erlang/highlights.scm | 9 ++++++--- 1 file 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" -- cgit v1.2.3