mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(tree-sitter): check tree-sitter-mode is bound
and-true-p
This commit is contained in:
@ -34,7 +34,7 @@
|
||||
|
||||
;; NOTE: does this need more?
|
||||
(defun +fold--ts-fold-p ()
|
||||
(and tree-sitter-mode
|
||||
(and (bound-and-true-p tree-sitter-mode)
|
||||
(featurep 'ts-fold)))
|
||||
|
||||
(defun +fold--invisible-points (count)
|
||||
|
Reference in New Issue
Block a user