From 00580583862ab63317f44dc90fd440a8a19055be Mon Sep 17 00:00:00 2001 From: Emilia Simmons Date: Thu, 18 May 2023 12:00:38 -0400 Subject: [PATCH] add multiple ; for highlighting --- queries/query/highlights.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/queries/query/highlights.scm b/queries/query/highlights.scm index b9c09fb95..8865b62d7 100644 --- a/queries/query/highlights.scm +++ b/queries/query/highlights.scm @@ -28,7 +28,7 @@ (#match? @number "^[-+]?[0-9]+(.[0-9]+)?$")) ((program . (comment)* . (comment) @include) - (#match? @include "^;\ +inherits\ *:")) + (#match? @include "^;+ +inherits *:")) ((program . (comment)* . (comment) @preproc) - (#match? @preproc "^; +extends")) + (#match? @preproc "^;+ +extends"))