mirror of https://github.com/helix-editor/helix
fix theme api
parent
3149754e85
commit
fe2ab3565f
|
@ -166,6 +166,17 @@
|
||||||
diagnostic.unnecessary
|
diagnostic.unnecessary
|
||||||
diagnostic.deprecated)
|
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
|
(define-syntax theme-func
|
||||||
(syntax-rules ()
|
(syntax-rules ()
|
||||||
[(_ scope doc-string)
|
[(_ scope doc-string)
|
||||||
|
|
Loading…
Reference in New Issue