forked from FG42/FG42
Fix the ui-hook to respect cube's flags
This commit is contained in:
parent
8a275d7873
commit
2491b7f2cf
|
@ -43,6 +43,7 @@
|
||||||
'(all-the-icons-lgreen ((t (:background "#bd93f9"))))
|
'(all-the-icons-lgreen ((t (:background "#bd93f9"))))
|
||||||
'(all-the-icons-faicon ((t (:background "#bd93f9"))))
|
'(all-the-icons-faicon ((t (:background "#bd93f9"))))
|
||||||
'(font-lock-comment-face ((t (:foreground "#8B9298"))))
|
'(font-lock-comment-face ((t (:foreground "#8B9298"))))
|
||||||
|
;; This fixes lsp-ui-sideline issue
|
||||||
'(lsp-ui-sideline-current-symbol ((t (:line-width -1 :foreground "#bd93f9"))))
|
'(lsp-ui-sideline-current-symbol ((t (:line-width -1 :foreground "#bd93f9"))))
|
||||||
'(font-lock-comment-delimiter-face ((t (:foreground "#5B6268")))))
|
'(font-lock-comment-delimiter-face ((t (:foreground "#5B6268")))))
|
||||||
(enable-theme 'dracula)
|
(enable-theme 'dracula)
|
||||||
|
|
|
@ -185,7 +185,8 @@ TODO: Docs"
|
||||||
(let ((fg42/---f-sym
|
(let ((fg42/---f-sym
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(when (not (null ,ui-hook))
|
(when (not (null ,ui-hook))
|
||||||
(add-hook 'fg42/ui-hook #',ui-hook))
|
(when-flag ,flag-var
|
||||||
|
(add-hook 'fg42/ui-hook #',ui-hook)))
|
||||||
|
|
||||||
(when (not (null ,init-hook))
|
(when (not (null ,init-hook))
|
||||||
(funcall #',init-hook params))
|
(funcall #',init-hook params))
|
||||||
|
|
Loading…
Reference in New Issue