From 58da7fe93ea617b1dc85d5e728b4cc78582cd536 Mon Sep 17 00:00:00 2001 From: Emilia Simmons Date: Thu, 18 May 2023 12:05:02 -0400 Subject: allow no spaces for extend/inherit comments --- 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 8865b62d7..8d7ab6f77 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")) -- cgit v1.2.3-70-g09d2