diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2024-01-20 17:41:40 +0100 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-01-20 17:52:50 +0100 |
| commit | 5cc562748729b6dc9563ea5a3d676ff102ab38b1 (patch) | |
| tree | 8a25ac5cceb594ac19aa464dd04b082058fb5ded /queries/comment | |
| parent | feat: add the php_only parser included in tree-sitter-php (#5876) (diff) | |
| download | nvim-treesitter-5cc562748729b6dc9563ea5a3d676ff102ab38b1.tar nvim-treesitter-5cc562748729b6dc9563ea5a3d676ff102ab38b1.tar.gz nvim-treesitter-5cc562748729b6dc9563ea5a3d676ff102ab38b1.tar.bz2 nvim-treesitter-5cc562748729b6dc9563ea5a3d676ff102ab38b1.tar.lz nvim-treesitter-5cc562748729b6dc9563ea5a3d676ff102ab38b1.tar.xz nvim-treesitter-5cc562748729b6dc9563ea5a3d676ff102ab38b1.tar.zst nvim-treesitter-5cc562748729b6dc9563ea5a3d676ff102ab38b1.zip | |
fix(comments)!: consolidate note captures
Distinguishing `hint` and `info` is too confusing; it's enough to have
`error`, `warning`, `todo`, and `note`.
Diffstat (limited to 'queries/comment')
| -rw-r--r-- | queries/comment/highlights.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/comment/highlights.scm b/queries/comment/highlights.scm index 6556ec557..1c663735b 100644 --- a/queries/comment/highlights.scm +++ b/queries/comment/highlights.scm @@ -4,10 +4,10 @@ (user) @constant ")" @punctuation.bracket)? ":" @punctuation.delimiter) - (#any-of? @comment.todo "TODO" "WIP")) + (#any-of? @comment.todo "TODO" "WIP" "FIXME")) ("text" @comment.todo @nospell - (#any-of? @comment.todo "TODO" "WIP")) + (#any-of? @comment.todo "TODO" "WIP" "FIXME")) ((tag (name) @comment.note @nospell |
