diff options
| author | Juri Linkov | 2025-05-14 09:57:40 +0300 |
|---|---|---|
| committer | Juri Linkov | 2025-05-14 09:57:40 +0300 |
| commit | 8bccccedb65a6d3991c41398effa9317adaec873 (patch) | |
| tree | 2abc5dec96285938a816d58c32612a8289de7d4a /java | |
| parent | 81cbff70f29c5138859b75b9a7369e0019c457b6 (diff) | |
| download | emacs-8bccccedb65a6d3991c41398effa9317adaec873.tar.gz emacs-8bccccedb65a6d3991c41398effa9317adaec873.zip | |
Use JSX comments on jsx treesit nodes in js-ts-mode and tsx-ts-mode
* lisp/progmodes/js.el (js--treesit-comment-jsx): New internal variable.
(js--treesit-comment-setup): New function.
(js-ts-mode): Set buffer-local 'comment-setup-function' to
'js--treesit-comment-setup'.
* lisp/progmodes/typescript-ts-mode.el (typescript-ts-base-mode):
Set buffer-local 'comment-setup-function' to 'js--treesit-comment-setup'.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions