]> git.eshelyaron.com Git - emacs.git/commit
Split python-mode into native and tree-sitter variant
authorYuan Fu <casouri@gmail.com>
Sun, 20 Nov 2022 00:09:08 +0000 (16:09 -0800)
committerYuan Fu <casouri@gmail.com>
Sun, 20 Nov 2022 00:09:08 +0000 (16:09 -0800)
commit00df4566af9dff0a27fd6da566ef1e53268a6d47
treef6786c292777858131ed7dd60cee17c474e722b3
parent655957087c8654577e7c59004f16be7abcc2c46c
Split python-mode into native and tree-sitter variant

* lisp/progmodes/python.el (python-base-mode): New virtual mode that
contains most of the setup.
(python-mode): Change to inherit from python-base-mode.
(python-ts-mode): New mode that sets up tree-sitter.
lisp/progmodes/python.el