mickeynp / combobulate

Structured Editing and Navigation in Emacs with Tree-Sitter
GNU General Public License v3.0
907 stars 53 forks source link

The combobulate-mode variable is nil even when combobulate works fine #109

Open DamienCassou opened 1 day ago

DamienCassou commented 1 day ago
  1. Execute
    $ emacs -Q \
        --eval "(setq treesit-extra-load-path '(\"/...path-to-grammars.../\"))" \
        --eval "(add-to-list 'load-path \"~/.emacs.d/lib/combobulate\")" \
        --eval "(require 'combobulate)"
  2. In the *scratch* buffer, type M-x js-ts-mode
  3. Type M-x combobulate-mode

Expected: The variable combobulate-mode to have value t

Actual: The variable has value nil.

Note:

Given that combobulate-mode is not a minor-mode, do we need this variable?

mickeynp commented 1 day ago

Yes, I should probably commit to using it or scratch it.