]> git.eshelyaron.com Git - emacs.git/commit
Separate native and tree-sitter variant of js-mode
authorYuan Fu <casouri@gmail.com>
Sun, 20 Nov 2022 00:56:42 +0000 (16:56 -0800)
committerYuan Fu <casouri@gmail.com>
Sun, 20 Nov 2022 01:00:21 +0000 (17:00 -0800)
commit7d7e9ef46a1b310fb3f481cdf8023082f5ec1618
tree426afec2c0430621b41d2e486098f4ab52f30cb8
parentd6362b632e3c76cb55a05248aa221e426c5adb5a
Separate native and tree-sitter variant of js-mode

* lisp/progmodes/js.el (js-base-mode): New mode.
(js-mode): Return to before tree-sitter setup is added, change to
inherit from js-base-mode.
(js-ts-mode): New mode.  Now it doesn't use any cc-mode feature,
meaning it looses comment filling.
lisp/progmodes/js.el