mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -04:00
25 lines
390 B
Scheme
25 lines
390 B
Scheme
;; tags
|
|
|
|
(elementdecl (Name) @definition.type)
|
|
|
|
(elementdecl
|
|
(contentspec
|
|
(children (Name) @reference)))
|
|
|
|
(AttlistDecl . (Name) @reference)
|
|
|
|
(STag (Name) @reference)
|
|
(ETag (Name) @reference)
|
|
(EmptyElemTag (Name) @reference)
|
|
|
|
;; attributes
|
|
|
|
(AttDef (Name) @definition.field)
|
|
|
|
(Attribute (Name) @reference)
|
|
|
|
;; entities
|
|
|
|
(GEDecl (Name) @definition.macro)
|
|
|
|
(EntityRef (Name) @reference)
|