From 3d08cdd741ea02ab820406582f8ea0b1198e368d Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sun, 3 Mar 2024 15:50:48 +0100 Subject: fix(comment): remove duplicate 'FIXME' --- CONTRIBUTING.md | 8 ++++---- queries/comment/highlights.scm | 4 ++-- 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 -- cgit v1.2.3-70-g09d2