mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
tweak(tree-sitter): add tree sitter check to foldp
instead of just checking if ts-fold is enabled I also check i tree-sitter mode is actually enabled if not it will move onto hidehshow
This commit is contained in:
@ -34,7 +34,8 @@
|
|||||||
|
|
||||||
;; NOTE: does this need more?
|
;; NOTE: does this need more?
|
||||||
(defun +fold--ts-fold-p ()
|
(defun +fold--ts-fold-p ()
|
||||||
(featurep 'ts-fold))
|
(and tree-sitter-mode
|
||||||
|
(featurep 'ts-fold)))
|
||||||
|
|
||||||
(defun +fold--invisible-points (count)
|
(defun +fold--invisible-points (count)
|
||||||
(let (points)
|
(let (points)
|
||||||
|
Reference in New Issue
Block a user