From 86e09d29e3b0726976e1b53054c7be65be21c2f0 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Fri, 22 Mar 2024 15:03:38 -0500 Subject: [PATCH] Update folds.scm to group correctly Per , trims do not work without grouping. --- queries-flavored/helix/folds.scm | 4 ++-- queries-flavored/lapce/folds.scm | 4 ++-- queries-flavored/zed/folds.scm | 4 ++-- queries-src/folds.scm | 4 ++-- queries/just/folds.scm | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/queries-flavored/helix/folds.scm b/queries-flavored/helix/folds.scm index 62dc1a4..cdb5df3 100644 --- a/queries-flavored/helix/folds.scm +++ b/queries-flavored/helix/folds.scm @@ -2,9 +2,9 @@ ; Define collapse points -[ +([ (recipe) (string) (external_command) ] @fold -(#trim! @fold) + (#trim! @fold)) diff --git a/queries-flavored/lapce/folds.scm b/queries-flavored/lapce/folds.scm index 62dc1a4..cdb5df3 100644 --- a/queries-flavored/lapce/folds.scm +++ b/queries-flavored/lapce/folds.scm @@ -2,9 +2,9 @@ ; Define collapse points -[ +([ (recipe) (string) (external_command) ] @fold -(#trim! @fold) + (#trim! @fold)) diff --git a/queries-flavored/zed/folds.scm b/queries-flavored/zed/folds.scm index 62dc1a4..cdb5df3 100644 --- a/queries-flavored/zed/folds.scm +++ b/queries-flavored/zed/folds.scm @@ -2,9 +2,9 @@ ; Define collapse points -[ +([ (recipe) (string) (external_command) ] @fold -(#trim! @fold) + (#trim! @fold)) diff --git a/queries-src/folds.scm b/queries-src/folds.scm index 4f9e4a4..2640f4c 100644 --- a/queries-src/folds.scm +++ b/queries-src/folds.scm @@ -1,8 +1,8 @@ ; Define collapse points -[ +([ (recipe) (string) (external_command) ] @fold -(#trim! @fold) + (#trim! @fold)) diff --git a/queries/just/folds.scm b/queries/just/folds.scm index 62dc1a4..cdb5df3 100644 --- a/queries/just/folds.scm +++ b/queries/just/folds.scm @@ -2,9 +2,9 @@ ; Define collapse points -[ +([ (recipe) (string) (external_command) ] @fold -(#trim! @fold) + (#trim! @fold))