summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/cabal/highlights.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/runtime/queries/cabal/highlights.scm b/runtime/queries/cabal/highlights.scm
new file mode 100644
index 00000000..d6b9f462
--- /dev/null
+++ b/runtime/queries/cabal/highlights.scm
@@ -0,0 +1,15 @@
+(comment) @comment
+
+[
+ "cabal-version"
+ (field_name)
+] @type
+
+(section_name) @type
+
+[
+ (section_type)
+ "if"
+ "elseif"
+ "else"
+] @keyword