mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 21:40:03 -04:00
feat(rbs): support inline doc style syntax
ref. https://github.com/soutaro/rbs-inline/wiki/Syntax-guide#doc-style-syntax
This commit is contained in:
parent
407b7ac662
commit
28de3ec2ad
2 changed files with 10 additions and 1 deletions
|
|
@ -163,3 +163,12 @@
|
|||
|
||||
; RBS Inline prefix (keep comment color)
|
||||
(inline_prefix) @comment
|
||||
|
||||
; RBS Inline syntax
|
||||
(inline_class_annotation) @keyword
|
||||
|
||||
(inline_doc
|
||||
(identifier) @variable.parameter)
|
||||
|
||||
(inline_doc
|
||||
(inline_doc_comment) @comment)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue