Closed alanz closed 2 years ago
The CodeAsTree mold tests for tree-sitter-mode with
CodeAsTree
tree-sitter-mode
(seq-contains-p minor-mode-list 'tree-sitter-mode)
But this checks for the availability of the mode, not if it is active in the current buffer.
See https://stackoverflow.com/questions/10088168/how-to-check-whether-a-minor-mode-e-g-flymake-mode-is-on
The
CodeAsTree
mold tests fortree-sitter-mode
withBut this checks for the availability of the mode, not if it is active in the current buffer.
See https://stackoverflow.com/questions/10088168/how-to-check-whether-a-minor-mode-e-g-flymake-mode-is-on