mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04:00
highlights(pascal): use more specific groups
This commit is contained in:
parent
0f866c15b4
commit
97e08483d8
1 changed files with 21 additions and 15 deletions
|
|
@ -3,7 +3,6 @@
|
||||||
(kProgram)
|
(kProgram)
|
||||||
(kLibrary)
|
(kLibrary)
|
||||||
(kUnit)
|
(kUnit)
|
||||||
(kUses)
|
|
||||||
|
|
||||||
(kBegin)
|
(kBegin)
|
||||||
(kEnd)
|
(kEnd)
|
||||||
|
|
@ -12,15 +11,13 @@
|
||||||
(kVar)
|
(kVar)
|
||||||
(kThreadvar)
|
(kThreadvar)
|
||||||
(kConst)
|
(kConst)
|
||||||
(kResourcestring)
|
|
||||||
(kConstref)
|
(kConstref)
|
||||||
|
(kResourcestring)
|
||||||
(kOut)
|
(kOut)
|
||||||
(kType)
|
(kType)
|
||||||
(kLabel)
|
(kLabel)
|
||||||
(kExports)
|
(kExports)
|
||||||
|
|
||||||
(kAbsolute)
|
|
||||||
|
|
||||||
(kProperty)
|
(kProperty)
|
||||||
(kRead)
|
(kRead)
|
||||||
(kWrite)
|
(kWrite)
|
||||||
|
|
@ -39,7 +36,6 @@
|
||||||
(kSet)
|
(kSet)
|
||||||
(kOf)
|
(kOf)
|
||||||
(kHelper)
|
(kHelper)
|
||||||
(kPacked)
|
|
||||||
|
|
||||||
(kInherited)
|
(kInherited)
|
||||||
|
|
||||||
|
|
@ -58,14 +54,6 @@
|
||||||
(kInitialization)
|
(kInitialization)
|
||||||
(kFinalization)
|
(kFinalization)
|
||||||
|
|
||||||
(kPublished)
|
|
||||||
(kPublic)
|
|
||||||
(kProtected)
|
|
||||||
(kPrivate)
|
|
||||||
(kStrict)
|
|
||||||
(kRequired)
|
|
||||||
(kOptional)
|
|
||||||
|
|
||||||
(kTry)
|
(kTry)
|
||||||
(kExcept)
|
(kExcept)
|
||||||
(kFinally)
|
(kFinally)
|
||||||
|
|
@ -91,7 +79,25 @@
|
||||||
(kThen)
|
(kThen)
|
||||||
(kElse)
|
(kElse)
|
||||||
] @conditional
|
] @conditional
|
||||||
|
|
||||||
|
[
|
||||||
|
(kPublished)
|
||||||
|
(kPublic)
|
||||||
|
(kProtected)
|
||||||
|
(kPrivate)
|
||||||
|
|
||||||
|
(kStrict)
|
||||||
|
(kRequired)
|
||||||
|
(kOptional)
|
||||||
|
] @type.qualifier
|
||||||
|
|
||||||
|
[
|
||||||
|
(kPacked)
|
||||||
|
|
||||||
|
(kAbsolute)
|
||||||
|
] @storageclass
|
||||||
|
|
||||||
|
(kUses) @include
|
||||||
|
|
||||||
; -- Attributes
|
; -- Attributes
|
||||||
|
|
||||||
|
|
@ -243,7 +249,7 @@
|
||||||
; -- Comments
|
; -- Comments
|
||||||
|
|
||||||
(comment) @comment
|
(comment) @comment
|
||||||
(pp) @function.macro
|
(pp) @preproc
|
||||||
|
|
||||||
; -- Type declaration
|
; -- Type declaration
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue