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/vimdoc | |
| 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/vimdoc')
| -rw-r--r-- | queries/vimdoc/highlights.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/vimdoc/highlights.scm b/queries/vimdoc/highlights.scm index ed8e84a90..294fa94f1 100644 --- a/queries/vimdoc/highlights.scm +++ b/queries/vimdoc/highlights.scm @@ -48,8 +48,8 @@ (url) @string.special.url -((note) @comment.hint - (#any-of? @comment.hint "Note:" "NOTE:" "Notes:")) +((note) @comment.note + (#any-of? @comment.note "Note:" "NOTE:" "Notes:")) ((note) @comment.warning (#any-of? @comment.warning "Warning:" "WARNING:")) |
