|
|
@ -7,31 +7,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
; Hint level tags
|
|
|
|
; Hint level tags
|
|
|
|
((tag (name) @hint)
|
|
|
|
((tag (name) @hint)
|
|
|
|
(#match? @hint "^(HINT|MARK)$"))
|
|
|
|
(#match? @hint "^(HINT|MARK|PASSED|STUB|MOCK)$"))
|
|
|
|
|
|
|
|
|
|
|
|
("text" @hint
|
|
|
|
("text" @hint
|
|
|
|
(#match? @hint "^(HINT|MARK)$"))
|
|
|
|
(#match? @hint "^(HINT|MARK|PASSED|STUB|MOCK)$"))
|
|
|
|
|
|
|
|
|
|
|
|
; Info level tags
|
|
|
|
; Info level tags
|
|
|
|
((tag (name) @info)
|
|
|
|
((tag (name) @info)
|
|
|
|
(#match? @info "^(INFO|NOTE|TODO)$"))
|
|
|
|
(#match? @info "^(INFO|NOTE|TODO|PERF|OPTIMIZE|PERFORMANCE|QUESTION|ASK)$"))
|
|
|
|
|
|
|
|
|
|
|
|
("text" @info
|
|
|
|
("text" @info
|
|
|
|
(#match? @info "^(INFO|NOTE|TODO)$"))
|
|
|
|
(#match? @info "^(INFO|NOTE|TODO|PERF|OPTIMIZE|PERFORMANCE|QUESTION|ASK)$"))
|
|
|
|
|
|
|
|
|
|
|
|
; Warning level tags
|
|
|
|
; Warning level tags
|
|
|
|
((tag (name) @warning)
|
|
|
|
((tag (name) @warning)
|
|
|
|
(#match? @warning "^(HACK|WARN|WARNING)$"))
|
|
|
|
(#match? @warning "^(HACK|WARN|WARNING|TEST|TEMP)$"))
|
|
|
|
|
|
|
|
|
|
|
|
("text" @warning
|
|
|
|
("text" @warning
|
|
|
|
(#match? @warning "^(HACK|WARN|WARNING)$"))
|
|
|
|
(#match? @warning "^(HACK|WARN|WARNING|TEST|TEMP)$"))
|
|
|
|
|
|
|
|
|
|
|
|
; Error level tags
|
|
|
|
; Error level tags
|
|
|
|
((tag (name) @error)
|
|
|
|
((tag (name) @error)
|
|
|
|
(#match? @error "^(BUG|FIXME|ISSUE|XXX)$"))
|
|
|
|
(#match? @error "^(BUG|FIXME|ISSUE|XXX|FIX|SAFETY|FIXIT|FAILED|DEBUG)$"))
|
|
|
|
|
|
|
|
|
|
|
|
("text" @error
|
|
|
|
("text" @error
|
|
|
|
(#match? @error "^(BUG|FIXME|ISSUE|XXX)$"))
|
|
|
|
(#match? @error "^(BUG|FIXME|ISSUE|XXX|FIX|SAFETY|FIXIT|FAILED|DEBUG)$"))
|
|
|
|
|
|
|
|
|
|
|
|
(tag
|
|
|
|
(tag
|
|
|
|
(name) @ui.text
|
|
|
|
(name) @ui.text
|
|
|
|