]> git.eshelyaron.com Git - emacs.git/commit
Initial fontification in sh-mode with tree-sitter
authorJoão P. L. de Carvalho <jaopaulolc@gmail.com>
Thu, 27 Oct 2022 21:45:56 +0000 (15:45 -0600)
committerYuan Fu <casouri@gmail.com>
Thu, 17 Nov 2022 18:11:21 +0000 (10:11 -0800)
commitd06127e5736b0564daf99a41c77c8c23d394e759
treed20fa874037ba2c8bd3a80271257271ae26d15e4
parentb440fa0a6b48a95323fa922b88e9a9a73d6c6360
Initial fontification in sh-mode with tree-sitter

* lisp/progmodes/sh-script.el (sh-mode): Add tree-sitter setup.  Move
setup of font-lock-defaults into branch.
(sh-mode--treesit-operators)
(sh-mode--treesit-keywords)
(sh-mode--treesit-settings): New variables.
(sh-mode--treesit-other-keywords)
(sh-mode--treesit-fontify-decl-command): New functions.
lisp/progmodes/sh-script.el