mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 20:40:02 -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)
|
||||
(kLibrary)
|
||||
(kUnit)
|
||||
(kUses)
|
||||
|
||||
(kBegin)
|
||||
(kEnd)
|
||||
|
|
@ -12,15 +11,13 @@
|
|||
(kVar)
|
||||
(kThreadvar)
|
||||
(kConst)
|
||||
(kResourcestring)
|
||||
(kConstref)
|
||||
(kResourcestring)
|
||||
(kOut)
|
||||
(kType)
|
||||
(kLabel)
|
||||
(kExports)
|
||||
|
||||
(kAbsolute)
|
||||
|
||||
(kProperty)
|
||||
(kRead)
|
||||
(kWrite)
|
||||
|
|
@ -39,7 +36,6 @@
|
|||
(kSet)
|
||||
(kOf)
|
||||
(kHelper)
|
||||
(kPacked)
|
||||
|
||||
(kInherited)
|
||||
|
||||
|
|
@ -58,14 +54,6 @@
|
|||
(kInitialization)
|
||||
(kFinalization)
|
||||
|
||||
(kPublished)
|
||||
(kPublic)
|
||||
(kProtected)
|
||||
(kPrivate)
|
||||
(kStrict)
|
||||
(kRequired)
|
||||
(kOptional)
|
||||
|
||||
(kTry)
|
||||
(kExcept)
|
||||
(kFinally)
|
||||
|
|
@ -91,7 +79,25 @@
|
|||
(kThen)
|
||||
(kElse)
|
||||
] @conditional
|
||||
|
||||
|
||||
[
|
||||
(kPublished)
|
||||
(kPublic)
|
||||
(kProtected)
|
||||
(kPrivate)
|
||||
|
||||
(kStrict)
|
||||
(kRequired)
|
||||
(kOptional)
|
||||
] @type.qualifier
|
||||
|
||||
[
|
||||
(kPacked)
|
||||
|
||||
(kAbsolute)
|
||||
] @storageclass
|
||||
|
||||
(kUses) @include
|
||||
|
||||
; -- Attributes
|
||||
|
||||
|
|
@ -243,7 +249,7 @@
|
|||
; -- Comments
|
||||
|
||||
(comment) @comment
|
||||
(pp) @function.macro
|
||||
(pp) @preproc
|
||||
|
||||
; -- Type declaration
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue