diff options
| author | Juri Linkov | 2025-01-25 20:14:15 +0200 |
|---|---|---|
| committer | Juri Linkov | 2025-01-25 20:14:15 +0200 |
| commit | 63df2164903e0cd6819187483a64b892aa7e0219 (patch) | |
| tree | caa5640f74fa1f8e273bc3056f8021e62fdf8a47 /java/res/values | |
| parent | 3bc6b88cc71b8ccc96b5e61d895e5208009aa3c0 (diff) | |
| download | emacs-63df2164903e0cd6819187483a64b892aa7e0219.tar.gz emacs-63df2164903e0cd6819187483a64b892aa7e0219.zip | |
Add 'treesit-forward-comment' with 'forward-comment-function'
* lisp/treesit.el (treesit-forward-comment): New function.
(treesit-major-mode-setup): Set 'forward-comment-function' to
'treesit-forward-comment' if the 'comment' thing is defined.
* src/syntax.c (forward-comment-function): New variable.
(Fforward_comment): Call the function from 'forward-comment-function'
when it's non-nil (bug#75609).
Diffstat (limited to 'java/res/values')
0 files changed, 0 insertions, 0 deletions