mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 08:20:05 -04:00
feat: add @comment.documentation where applicable
This commit is contained in:
parent
3a82b58745
commit
5a87bc98da
32 changed files with 256 additions and 58 deletions
|
|
@ -5,7 +5,10 @@
|
|||
(integer) @number
|
||||
(float) @float
|
||||
|
||||
(comment) @comment
|
||||
(comment) @comment @spell
|
||||
|
||||
((comment) @comment.documentation
|
||||
(#lua-match? @comment.documentation "^[%%][%%]"))
|
||||
|
||||
;; keyword
|
||||
[
|
||||
|
|
@ -104,7 +107,6 @@
|
|||
(type_alias name: _ @type) @type.definition
|
||||
(spec) @type.definition
|
||||
|
||||
(comment) @comment
|
||||
[(string) (binary)] @string
|
||||
|
||||
;;; expr_function_call
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue