• Stefan Monnier's avatar
    Add non-TS modes as extra parent of TS modes (bug#68246) · c79a5093
    Stefan Monnier authored
    Record the fact that TS modes are alternatives to the non-TS
    modes using the new `derived-mode-add-parents` functionality.
    Do the same for long standing similar issues with CPerl-mode.
    
    * lisp/textmodes/yaml-ts-mode.el (yaml-ts-mode):
    * lisp/textmodes/toml-ts-mode.el (toml-ts-mode):
    * lisp/textmodes/html-ts-mode.el (html-ts-mode):
    * lisp/textmodes/css-mode.el (css-ts-mode):
    * lisp/progmodes/typescript-ts-mode.el (typescript-ts-mode, tsx-ts-mode):
    * lisp/progmodes/sh-script.el (bash-ts-mode):
    * lisp/progmodes/rust-ts-mode.el (rust-ts-mode):
    * lisp/progmodes/ruby-ts-mode.el (ruby-ts-mode):
    * lisp/progmodes/python.el (python-ts-mode):
    * lisp/progmodes/lua-ts-mode.el (lua-ts-mode):
    * lisp/progmodes/json-ts-mode.el (json-ts-mode):
    * lisp/progmodes/js.el (js-ts-mode):
    * lisp/progmodes/java-ts-mode.el (java-ts-mode):
    * lisp/progmodes/heex-ts-mode.el (heex-ts-mode):
    * lisp/progmodes/go-ts-mode.el (go-ts-mode, go-mod-ts-mode):
    * lisp/progmodes/elixir-ts-mode.el (elixir-ts-mode):
    * lisp/progmodes/dockerfile-ts-mode.el (dockerfile-ts-mode):
    * lisp/progmodes/csharp-mode.el (csharp-ts-mode):
    * lisp/progmodes/cmake-ts-mode.el (cmake-ts-mode):
    * lisp/progmodes/c-ts-mode.el (c-ts-mode, c++-ts-mode):
    Add non-TS mode as extra parent.
    
    * lisp/progmodes/cperl-mode.el (cperl-mode): Add `perl-mode` as
    extra parent.
    c79a5093