Tree-sitter became more widespread and Emacs took notice and included a bunch of -ts-mode as alternatives to -mode into the core. This is good news and a welcome change, but I have some concerns about the approach.
When I first saw the Tree-sitter talk by Max Brunsfeld I was concerned that the language highlighting “fix” they’re talking about is too much.
Many of the ‘defaut’ (in my head) bindings dont’ work in python-ts-mode (such as C-c >), but perhaps my config is blowing something up. Hmm … I’ll dig in more, thanks!
Have you tried to use the same binding?
python-ts-modeshould have the same default set aspython-modedue of howpython-ts-mode-mapis defined.To see all available bindings, type
C-h f python-ts-mode RET. You’re probably thinking ofC-c <andC-c >.Many of the ‘defaut’ (in my head) bindings dont’ work in python-ts-mode (such as C-c >), but perhaps my config is blowing something up. Hmm … I’ll dig in more, thanks!
These two bindings work for me. Does
C-h f python-ts-mode RETshow them in the list?