From fe2ab3565fa407d3740530c0731f55977b371505 Mon Sep 17 00:00:00 2001 From: Matt Paras Date: Sun, 1 Jun 2025 16:18:23 -0700 Subject: [PATCH] fix theme api --- helix-term/src/commands/engine/themes.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/helix-term/src/commands/engine/themes.scm b/helix-term/src/commands/engine/themes.scm index a16118ca6..a92a321c3 100644 --- a/helix-term/src/commands/engine/themes.scm +++ b/helix-term/src/commands/engine/themes.scm @@ -166,6 +166,17 @@ diagnostic.unnecessary diagnostic.deprecated) +(provide hashmap->theme + register-theme + theme-style + theme-set-style! + string->color) + +;;@doc +;; Register this theme with helix for use +(define (register-theme theme) + (add-theme! *helix.cx* theme)) + (define-syntax theme-func (syntax-rules () [(_ scope doc-string)