aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
Diffstat (limited to 'queries')
-rw-r--r--queries/pascal/highlights.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/queries/pascal/highlights.scm b/queries/pascal/highlights.scm
index acc5c76f6..1c9dc2caf 100644
--- a/queries/pascal/highlights.scm
+++ b/queries/pascal/highlights.scm
@@ -228,6 +228,11 @@
(literalNumber) @number
(literalString) @string
+; -- Identifiers
+
+; Unless a more specific rule applies, treat identifiers as variables
+(identifier) @variable
+
; -- Comments
(comment) @comment
(pp) @function.macro
@@ -277,7 +282,7 @@
; -- Type usage
-(typeref) @type
+(typeref (_) @type)
; -- Constant usage