From 527eb602ff11ec64c4c658f94d4ee4f0240753e1 Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Wed, 24 Jan 2024 01:16:04 -0500 Subject: [PATCH] chore(rust): update highlights --- queries/rust/highlights.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/queries/rust/highlights.scm b/queries/rust/highlights.scm index 2928271a3..c651f34fa 100644 --- a/queries/rust/highlights.scm +++ b/queries/rust/highlights.scm @@ -2,6 +2,8 @@ ; Copyright (c) 2017 Maxim Sokolov ; Licensed under the MIT license. ; Identifier conventions +(shebang) @keyword.directive + (identifier) @variable ((identifier) @type @@ -277,6 +279,8 @@ "await" ] @keyword.coroutine +"try" @keyword.exception + [ "ref" (mutable_specifier) @@ -364,6 +368,7 @@ "-=" ".." "..=" + "..." "/" "/=" "<"