summaryrefslogtreecommitdiff
path: root/queries/llvm
diff options
context:
space:
mode:
authorBenjamin Graham <benwilliamgraham@gmail.com>2021-10-02 17:09:40 -0400
committerStephan Seitz <stephan.seitz@fau.de>2021-10-03 18:40:25 +0200
commit6188437150d7cb28aa09e9c1788f7f6e67b72782 (patch)
treea1eb1eac75ad61eccc00e55c7452a992530eb2c8 /queries/llvm
parent70b1997cd7605d7be5c1cea86019281cdc296386 (diff)
LLVM parser/highlighter added
Diffstat (limited to 'queries/llvm')
-rw-r--r--queries/llvm/highlights.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/queries/llvm/highlights.scm b/queries/llvm/highlights.scm
new file mode 100644
index 00000000..73bdedb3
--- /dev/null
+++ b/queries/llvm/highlights.scm
@@ -0,0 +1,12 @@
+(type) @type
+(statement) @statement
+(number) @number
+(comment) @comment
+(string) @string
+(label) @label
+(keyword) @keyword
+(boolean) @boolean
+(float) @number
+(constant) @identifier
+(identifier) @constant
+(punctuation) @punctuation