aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/cabal/highlights.scm
diff options
context:
space:
mode:
authorOllie Charles2023-04-12 13:38:11 +0000
committerGitHub2023-04-12 13:38:11 +0000
commit92c5f5f18cfafa8e9f6cb6cf0f6b584977af8eb2 (patch)
tree487206d76ac864afda6459700b5aac6c9383904a /runtime/queries/cabal/highlights.scm
parentd5fec302c9fc6a6e334a0d518c6d10f7dbeb26a7 (diff)
Initial Cabal language support (#6485)
Diffstat (limited to 'runtime/queries/cabal/highlights.scm')
-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