diff options
| author | Vincenzo Pupillo | 2025-02-03 22:14:44 +0100 |
|---|---|---|
| committer | Yuan Fu | 2025-02-04 23:54:47 -0800 |
| commit | 4396f6414c2fb82cb8cee68420b658e376bb4e01 (patch) | |
| tree | 9ee792dfd4c47d03c4caf4ea09295580f88d92be /java | |
| parent | 12a3145b3b9480e5e5993dac28df52a36cc7b95d (diff) | |
| download | emacs-4396f6414c2fb82cb8cee68420b658e376bb4e01.tar.gz emacs-4396f6414c2fb82cb8cee68420b658e376bb4e01.zip | |
Correctly handled the local parser for jsdoc (bug#75456)
As a result of recent patches to treesitter, local parsers must
now be recognized by 'treesit-language-at-point' and have their
own indentation rules.
* lisp/progmodes/js.el
(js--treesit-indent-rules): New rule for jsdoc.
(js--treesit-language-at-point): New function.
(js-ts-mode): Use the new function.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions