feature/evil: new code-folding system
This commit is contained in:
parent
a1fa0a7dfe
commit
f49a507ec8
6 changed files with 104 additions and 45 deletions
|
@ -128,6 +128,13 @@
|
|||
(setq hs-set-up-overlay
|
||||
(lambda (ov)
|
||||
(when (eq 'code (overlay-get ov 'hs))
|
||||
(when (featurep 'vimish-fold)
|
||||
(overlay-put
|
||||
ov 'before-string
|
||||
(propertize "…" 'display
|
||||
(list vimish-fold-indication-mode
|
||||
'empty-line
|
||||
'vimish-fold-fringe))))
|
||||
(overlay-put
|
||||
ov 'display (propertize " [...] " 'face '+doom-folded-face))))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue