Skip to content

Commit

Permalink
Add back @spell capture
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Mar 11, 2024
1 parent a909b06 commit d165edc
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion build-flavored-queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@
REPLACEMENTS_HELIX = [
(r"@keyword.module", "@keyword.directive"),
(r"@function.call", "@function"),
(r"@spell", ""),
(r"@spell ?", ""),
# nothing more specific than reference
(r"(@local.reference)[\w.]+", r"\1"),
]
Expand Down
1 change: 0 additions & 1 deletion queries-flavored/helix/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@

; Comments

; FIXME: add once all editors support it
(comment) @comment.line

(shebang) @comment
Expand Down
1 change: 0 additions & 1 deletion queries-flavored/lapce/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@

; Comments

; FIXME: add once all editors support it
(comment) @comment.line

(shebang) @comment
Expand Down
3 changes: 1 addition & 2 deletions queries-flavored/nvim-next/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@

; Comments

; FIXME: add @spell once all editors support it
(comment) @comment
(comment) @spell @comment

(shebang) @comment

Expand Down
1 change: 0 additions & 1 deletion queries-flavored/zed/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@

; Comments

; FIXME: add once all editors support it
(comment) @comment.line

(shebang) @comment
Expand Down
3 changes: 1 addition & 2 deletions queries-src/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@

; Comments

; FIXME: add @spell once all editors support it
(comment) @comment.line
(comment) @spell @comment.line

(shebang) @comment

Expand Down
3 changes: 1 addition & 2 deletions queries/just/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@

; Comments

; FIXME: add @spell once all editors support it
(comment) @comment
(comment) @spell @comment

(shebang) @comment

Expand Down

0 comments on commit d165edc

Please sign in to comment.