Skip to content

Commit

Permalink
Update folds.scm to group correctly
Browse files Browse the repository at this point in the history
Per
<nvim-treesitter/nvim-treesitter#6245 (comment)>,
trims do not work without grouping.
  • Loading branch information
tgross35 committed Mar 22, 2024
1 parent 8fdd6e5 commit 348e9cf
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions queries-flavored/helix/folds.scm
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

; Define collapse points

[
([
(recipe)
(string)
(external_command)
] @fold
(#trim! @fold)
(#trim! @fold))
4 changes: 2 additions & 2 deletions queries-flavored/lapce/folds.scm
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

; Define collapse points

[
([
(recipe)
(string)
(external_command)
] @fold
(#trim! @fold)
(#trim! @fold))
4 changes: 2 additions & 2 deletions queries-flavored/zed/folds.scm
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

; Define collapse points

[
([
(recipe)
(string)
(external_command)
] @fold
(#trim! @fold)
(#trim! @fold))
4 changes: 2 additions & 2 deletions queries-src/folds.scm
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
; Define collapse points

[
([
(recipe)
(string)
(external_command)
] @fold
(#trim! @fold)
(#trim! @fold))
4 changes: 2 additions & 2 deletions queries/just/folds.scm
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

; Define collapse points

[
([
(recipe)
(string)
(external_command)
] @fold
(#trim! @fold)
(#trim! @fold))

0 comments on commit 348e9cf

Please sign in to comment.