File tree Expand file tree Collapse file tree 2 files changed +3
-23
lines changed
Expand file tree Collapse file tree 2 files changed +3
-23
lines changed Original file line number Diff line number Diff line change 66
77[ ![ CI] ( https://github.com/emacs-vs/foldvis/actions/workflows/test.yml/badge.svg )] ( https://github.com/emacs-vs/foldvis/actions/workflows/test.yml )
88
9- Supporting backends:
9+ A list of supported backends:
1010
11- - [ hideshow] [ ]
11+ - [ hideshow] [ ] (WIP)
1212- [ origami.el] [ ]
1313- [ ts-fold] [ ] / [ treesit-fold] [ ]
1414
Original file line number Diff line number Diff line change 6767 " Refresh indicators for all folding range."
6868 (when hs-minor-mode
6969 (goto-char (point-min ))
70- (while (search-forward-regexp hs-block-start-regexp nil t )
71- (when (if hideshowvis-ignore-same-line
72- (let ((begin-line (save-excursion
73- (goto-char (match-beginning 0 ))
74- (line-number-at-pos (point )))))
75- (save-excursion
76- (goto-char (match-beginning 0 ))
77- (ignore-errors
78- (progn
79- (funcall hs-forward-sexp-func 1 )
80- (> (line-number-at-pos (point )) begin-line)))))
81- t )
82- (let* ((ovl (make-overlay (match-beginning 0 ) (match-end 0 ))))
83- (overlay-put ovl 'before-string
84- (propertize
85- " *hideshowvis*"
86- 'display
87- (list 'left-fringe
88- 'hideshowvis-hideable-marker
89- 'hideshowvis-hidable-face )))
90- (overlay-put ovl 'hideshowvis-hs t ))))
70+ ; ; TODO: ..
9171 (run-hooks 'foldvis-refresh-hook )))
9272
9373(provide 'foldvis-hideshow )
You can’t perform that action at this time.
0 commit comments