diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2022-12-15 21:13:13 +0100 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2022-12-15 21:13:13 +0100 |
commit | fa70076974b5f9ed21438946fb6a1a8bf76b7c5a (patch) | |
tree | f6bb20b15fde5eec55dd757e6191cfb13a26d172 /lisp/progmodes/sh-script.el | |
parent | db69249b761a80158c1469b2a169d6f5c8509ae1 (diff) | |
parent | fafcf02c856ef8fd712ff75e8999dfb0f6d97f07 (diff) | |
download | emacs-fa70076974b5f9ed21438946fb6a1a8bf76b7c5a.tar.gz |
Merge from origin/emacs-29
fafcf02c856 Fix syntax tables of tree-sitter modes (bug#59807)
91b8d9b7db4 ; * admin/notes/tree-sitter/build-module/build.sh: Minor ...
1b0e282a7f8 ; Comment and stylistic change in treesit.el
489b02d03cf * doc/misc/Makefile.in (need_emacsver): Add use-package.
Diffstat (limited to 'lisp/progmodes/sh-script.el')
-rw-r--r-- | lisp/progmodes/sh-script.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 1605e403473..458697dd22f 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -1611,6 +1611,7 @@ with your script for an edit-interpret-debug cycle." "Major mode for editing Bash shell scripts. This mode automatically falls back to `sh-mode' if the buffer is not written in Bash or sh." + :syntax-table sh-mode-syntax-table (when (treesit-ready-p 'bash) (setq-local treesit-font-lock-feature-list '(( comment function) |