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 /CONTRIBUTING.md | |
| 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 'CONTRIBUTING.md')
| -rw-r--r-- | CONTRIBUTING.md | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c29994f18..ca681832a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -193,11 +193,10 @@ As languages differ quite a lot, here is a set of captures available to you when @comment ; line and block comments @comment.documentation ; comments documenting code -@comment.error ; error-type comments (e.g., `DEPRECATED:`) -@comment.warning ; warning-type comments (e.g., `WARNING:`, `FIX:`) -@comment.hint ; note-type comments (e.g., `NOTE:`) -@comment.info ; info-type comments -@comment.todo ; todo-type comments (e.g-, `TODO:`, `WIP:`) +@comment.error ; error-type comments (e.g. `ERROR`, `FIXME`, `DEPRECATED:`) +@comment.warning ; warning-type comments (e.g. `WARNING:`, `FIX:`, `HACK:`) +@comment.todo ; todo-type comments (e.g. `TODO:`, `WIP:`, `FIXME:`) +@comment.note ; note-type comments (e.g. `NOTE:`, `INFO:`, `XXX`) ``` #### Markup |
