fix(tree-sitter): check tree-sitter-mode is bound
and-true-p
This commit is contained in:
parent
74fc2a87c9
commit
cd6cb8c499
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
;; NOTE: does this need more?
|
;; NOTE: does this need more?
|
||||||
(defun +fold--ts-fold-p ()
|
(defun +fold--ts-fold-p ()
|
||||||
(and tree-sitter-mode
|
(and (bound-and-true-p tree-sitter-mode)
|
||||||
(featurep 'ts-fold)))
|
(featurep 'ts-fold)))
|
||||||
|
|
||||||
(defun +fold--invisible-points (count)
|
(defun +fold--invisible-points (count)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue