]> git.eshelyaron.com Git - emacs.git/commit
Expand css-ts-mode and merge it into css-mode
authorYuan Fu <casouri@gmail.com>
Sat, 19 Nov 2022 23:27:07 +0000 (15:27 -0800)
committerYuan Fu <casouri@gmail.com>
Sat, 19 Nov 2022 23:43:36 +0000 (15:43 -0800)
commit655957087c8654577e7c59004f16be7abcc2c46c
treee9f4ac462f6df430143072587a3416cc133fe14d
parente41af3971de8f71b5241698a8b29349905f1a969
Expand css-ts-mode and merge it into css-mode

* lisp/progmodes/css-ts-mode.el: Deleted.
* lisp/textmodes/css-mode.el (css--treesit-indent-rules)
(css--treesit-settings): New variables.
(css--treesit-imenu-1)
(css--treesit-imenu): New functions.
* lisp/textmodes/css-mode.el (css-base-mode): New mode inherited by
both css-mode and css-ts-mode.
(css-ts-mode): New mode.
(css-mode): Inherit from css-base-mode, and move some setup to
css-base-mode.
lisp/progmodes/css-ts-mode.el [deleted file]
lisp/textmodes/css-mode.el