aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/xcompose/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/xcompose/highlights.scm')
-rw-r--r--runtime/queries/xcompose/highlights.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/runtime/queries/xcompose/highlights.scm b/runtime/queries/xcompose/highlights.scm
new file mode 100644
index 000000000..2afab42f9
--- /dev/null
+++ b/runtime/queries/xcompose/highlights.scm
@@ -0,0 +1,38 @@
+(keysym) @constant
+
+((keysym) @constant.builtin
+ (#eq? @constant.builtin "Multi_key"))
+
+(text) @string
+
+"include" @keyword.import
+
+[
+ (octal)
+ (hex)
+] @number
+
+[
+ (modifier)
+ "None"
+] @keyword.modifier
+
+[
+ "%L"
+ "%H"
+ "%S"
+] @string.special
+
+[
+ "!"
+ "~"
+] @operator
+
+[
+ ":"
+ "<"
+ ">"
+ "\""
+] @punctuation.delimiter
+
+(comment) @comment @spell