summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Muñoz <alvaro@pwntester.com>2020-11-06 23:10:59 +0100
committerStephan Seitz <stephan.lauf@yahoo.de>2020-11-07 01:11:37 +0100
commit6900e5f704110e3dbaab844c81530e82f271f7da (patch)
tree287a00a735e94d9ac02c657d7d4b5e6a9a252fb9
parent6e80f426bf9dc44c14b73d3589c6e19cbe9aa682 (diff)
minor improvments for QL
-rw-r--r--queries/ql/highlights.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/queries/ql/highlights.scm b/queries/ql/highlights.scm
index bc58a7e5..b996d627 100644
--- a/queries/ql/highlights.scm
+++ b/queries/ql/highlights.scm
@@ -102,7 +102,8 @@
"|"
] @punctuation.delimiter
-(className) @type
+(dataclass name: (className) @type)
+(datatype name: (className) @type)
(varName) @variable
@@ -111,6 +112,7 @@
(string) @string
+(charpred (className) @function)
(aritylessPredicateExpr (literalId) @function)
(predicateName) @function