mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-25 14:13:37 -05:00
Make config more emacsclient-friendly
This commit is contained in:
@@ -48,12 +48,13 @@
|
||||
'("*Command Line*" :size 8))
|
||||
|
||||
;; Set cursor colors later, presumably once theme is loaded
|
||||
(add-hook! 'after-init-hook
|
||||
(defun +evil*init-cursors (&rest _)
|
||||
(setq evil-default-cursor (face-attribute 'cursor :background nil t)
|
||||
evil-normal-state-cursor 'box
|
||||
evil-emacs-state-cursor `(,(face-attribute 'warning :foreground nil nil) box)
|
||||
evil-insert-state-cursor 'bar
|
||||
evil-visual-state-cursor 'hollow))
|
||||
(advice-add #'load-theme :after #'+evil*init-cursors)
|
||||
|
||||
;; highlight matching delimiters where it's important
|
||||
(defun +evil|show-paren-mode-off () (show-paren-mode -1))
|
||||
|
Reference in New Issue
Block a user