mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -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?
|
||||
(defun +fold--ts-fold-p ()
|
||||
(featurep 'ts-fold))
|
||||
(and tree-sitter-mode
|
||||
(featurep 'ts-fold)))
|
||||
|
||||
(defun +fold--invisible-points (count)
|
||||
(let (points)
|
||||
|
Reference in New Issue
Block a user