From 5944fc821ac590ddb8073b3f9243a432105237b0 Mon Sep 17 00:00:00 2001 From: Chris Kipp Date: Fri, 9 Jun 2023 10:15:06 +0200 Subject: [PATCH] feat(scala): sync highlights with latest upstream (#4926) This accounts for a correction in interpolations and also adding support for `self_type`. This is a follow-up to #4920. --- queries/scala/highlights.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/queries/scala/highlights.scm b/queries/scala/highlights.scm index f62e88c5d..743d16cc2 100644 --- a/queries/scala/highlights.scm +++ b/queries/scala/highlights.scm @@ -23,7 +23,10 @@ (class_parameter name: (identifier) @parameter) -(interpolation) @none +(self_type (identifier) @parameter) + +(interpolation (identifier) @none) +(interpolation (block) @none) ;; types