aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-03-03 15:50:48 +0100
committerChristian Clason <c.clason@uni-graz.at>2024-03-03 16:03:26 +0100
commit3d08cdd741ea02ab820406582f8ea0b1198e368d (patch)
treed89e6f659f5dab533e61cdc589773d34928ae928
parentbot(readme): update (diff)
downloadnvim-treesitter-3d08cdd741ea02ab820406582f8ea0b1198e368d.tar
nvim-treesitter-3d08cdd741ea02ab820406582f8ea0b1198e368d.tar.gz
nvim-treesitter-3d08cdd741ea02ab820406582f8ea0b1198e368d.tar.bz2
nvim-treesitter-3d08cdd741ea02ab820406582f8ea0b1198e368d.tar.lz
nvim-treesitter-3d08cdd741ea02ab820406582f8ea0b1198e368d.tar.xz
nvim-treesitter-3d08cdd741ea02ab820406582f8ea0b1198e368d.tar.zst
nvim-treesitter-3d08cdd741ea02ab820406582f8ea0b1198e368d.zip
fix(comment): remove duplicate 'FIXME'
-rw-r--r--CONTRIBUTING.md8
-rw-r--r--queries/comment/highlights.scm4
2 files changed, 6 insertions, 6 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 9c2f4e033..9db53d688 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -197,10 +197,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. `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`)
+@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`)
+@comment.note ; note-type comments (e.g. `NOTE`, `INFO`, `XXX`)
```
#### Markup
diff --git a/queries/comment/highlights.scm b/queries/comment/highlights.scm
index 14dbdefc7..5d18b790a 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" "FIXME"))
+ (#any-of? @comment.todo "TODO" "WIP"))
("text" @comment.todo @nospell
- (#any-of? @comment.todo "TODO" "WIP" "FIXME"))
+ (#any-of? @comment.todo "TODO" "WIP"))
((tag
(name) @comment.note @nospell