Better fontawesome icon + neotree
This commit is contained in:
parent
3197767d4f
commit
056e519153
|
@ -52,9 +52,20 @@
|
|||
;;;###autoload
|
||||
(defun doom*neo-insert-fold-symbol (name)
|
||||
"Custom hybrid unicode theme with leading whitespace."
|
||||
(or (and (eq name 'open) (neo-buffer--insert-with-face " - " 'neo-expand-btn-face))
|
||||
(and (eq name 'close) (neo-buffer--insert-with-face " + " 'neo-expand-btn-face))
|
||||
(and (eq name 'leaf) (neo-buffer--insert-with-face " " 'neo-expand-btn-face))))
|
||||
(or (and (eq name 'open)
|
||||
(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 '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)
|
||||
;;; defuns-neotree.el ends here
|
||||
|
|
Loading…
Reference in New Issue
Block a user