Better fontawesome icon + neotree
This commit is contained in:
parent
3197767d4f
commit
056e519153
|
@ -52,9 +52,20 @@
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom*neo-insert-fold-symbol (name)
|
(defun doom*neo-insert-fold-symbol (name)
|
||||||
"Custom hybrid unicode theme with leading whitespace."
|
"Custom hybrid unicode theme with leading whitespace."
|
||||||
(or (and (eq name 'open) (neo-buffer--insert-with-face " - " 'neo-expand-btn-face))
|
(or (and (eq name 'open)
|
||||||
(and (eq name 'close) (neo-buffer--insert-with-face " + " 'neo-expand-btn-face))
|
(neo-buffer--insert-with-face (format " - %s "
|
||||||
(and (eq name 'leaf) (neo-buffer--insert-with-face " " 'neo-expand-btn-face))))
|
(propertize ""
|
||||||
|
'face `(:family "fontawesome" :height 1.2)
|
||||||
|
'display '(raise -0.2)))
|
||||||
|
'neo-expand-btn-face))
|
||||||
|
(and (eq name 'close)
|
||||||
|
(neo-buffer--insert-with-face (format " + %s "
|
||||||
|
(propertize ""
|
||||||
|
'face `(:family "fontawesome" :height 1.2)
|
||||||
|
'display '(raise -0.2)))
|
||||||
|
'neo-expand-btn-face))
|
||||||
|
(and (eq name 'leaf)
|
||||||
|
(neo-buffer--insert-with-face " " 'neo-expand-btn-face))))
|
||||||
|
|
||||||
(provide 'defuns-neotree)
|
(provide 'defuns-neotree)
|
||||||
;;; defuns-neotree.el ends here
|
;;; defuns-neotree.el ends here
|
||||||
|
|
Loading…
Reference in New Issue
Block a user