mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 16:30:02 -04:00
feat: add @string.documentation where applicable
This commit is contained in:
parent
51030378eb
commit
95bcd6a8fa
4 changed files with 32 additions and 5 deletions
|
|
@ -226,8 +226,18 @@
|
|||
(prefixed_command_literal
|
||||
prefix: (identifier) @function.macro) @string.special
|
||||
|
||||
((string_literal) @string.documentation
|
||||
. [
|
||||
(module_definition)
|
||||
(abstract_definition)
|
||||
(struct_definition)
|
||||
(function_definition)
|
||||
(assignment)
|
||||
(const_declaration)
|
||||
])
|
||||
|
||||
[
|
||||
(line_comment)
|
||||
(block_comment)
|
||||
] @comment
|
||||
] @comment @spell
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue