From 35dec1ceeb9996aa3acb24b35305425daf368d75 Mon Sep 17 00:00:00 2001 From: David Hotham Date: Thu, 24 Dec 2020 19:48:02 +0000 Subject: remove duplication of query for number --- queries/bash/highlights.scm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'queries/bash') diff --git a/queries/bash/highlights.scm b/queries/bash/highlights.scm index 709ccd6a..7d83af03 100644 --- a/queries/bash/highlights.scm +++ b/queries/bash/highlights.scm @@ -76,9 +76,6 @@ ((word) @boolean (#match? @boolean "^(true|false)$")) -((word) @number - (#match? @number "^[0-9]+$")) - (comment) @comment (test_operator) @string @@ -100,9 +97,8 @@ (concatenation (word) @parameter) ]) -(command - argument: ((word) @number - (#match? @number "^[0-9]+$"))) +((word) @number + (#match? @number "^[0-9]+$")) (file_redirect descriptor: (file_descriptor) @operator -- cgit v1.2.3