diff options
| author | Riley Bruins <ribru17@hotmail.com> | 2025-10-29 18:51:42 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-30 10:51:42 +0900 |
| commit | 2c30e515ebe79037ab8d15f7e59c0e2690f50626 (patch) | |
| tree | 9adff00656d8edd1329c841545e8b32d340f647f /runtime/queries/latex | |
| parent | feat(diff): update parser after move (diff) | |
| download | nvim-treesitter-2c30e515ebe79037ab8d15f7e59c0e2690f50626.tar nvim-treesitter-2c30e515ebe79037ab8d15f7e59c0e2690f50626.tar.gz nvim-treesitter-2c30e515ebe79037ab8d15f7e59c0e2690f50626.tar.bz2 nvim-treesitter-2c30e515ebe79037ab8d15f7e59c0e2690f50626.tar.lz nvim-treesitter-2c30e515ebe79037ab8d15f7e59c0e2690f50626.tar.xz nvim-treesitter-2c30e515ebe79037ab8d15f7e59c0e2690f50626.tar.zst nvim-treesitter-2c30e515ebe79037ab8d15f7e59c0e2690f50626.zip | |
fix: prefer `#eq?` for checking equality with one string (#8246)
Diffstat (limited to 'runtime/queries/latex')
| -rw-r--r-- | runtime/queries/latex/highlights.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/queries/latex/highlights.scm b/runtime/queries/latex/highlights.scm index 3f195a13e..06cb165e3 100644 --- a/runtime/queries/latex/highlights.scm +++ b/runtime/queries/latex/highlights.scm @@ -266,7 +266,7 @@ (begin name: (curly_group_text (text) @label) - (#any-of? @label "frame")) + (#eq? @label "frame")) . (curly_group (_) @markup.heading)) |
