From 949ca1bd810cd17b78875d180f65503b39f1c68b Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Sun, 17 Mar 2024 17:32:31 +0100 Subject: [PATCH] adjust highlights to helix --- runtime/queries/hyprlang/highlights.scm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/runtime/queries/hyprlang/highlights.scm b/runtime/queries/hyprlang/highlights.scm index d76993d12511..bf898c9cdd22 100644 --- a/runtime/queries/hyprlang/highlights.scm +++ b/runtime/queries/hyprlang/highlights.scm @@ -1,19 +1,19 @@ -(comment) @comment @spell +(comment) @comment [ "source" "exec" "exec-once" -] @keyword +] @function.builtin (keyword (name) @keyword) (assignment - (name) @property) + (name) @variable.other.member) (section - (name) @module) + (name) @namespace) (section device: (device_name) @type) @@ -22,7 +22,9 @@ "$" @punctuation.special -(boolean) @boolean +(boolean) @constant.builtin.boolean + +(string) @string (mod) @constant @@ -36,7 +38,7 @@ (legacy_hex) (angle) (hex) -] @number +] @constant.numeric "deg" @type