Skip to content

Feature Request: integration with tree-sitter #38

@Inc0n

Description

@Inc0n

With emacs 29, treesitter will be built-in. It may be a good idea to take advantage of that.

Here is the comment on a reddit post that inspired this request.

The idea is to add a variable (defcustom) perhaps named puni-forward-sexp-function, this variable will be funcalled in place of the current forward-sexp.

In treesitter's case a customized function that wraps treesit-node-next-sibling (See https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/treesit.el#n71) may work.

The benefits of this could introduce some more flexibilities. For example, support for issues such as this (#14) can be added by uses setting puni-forward-sexp-function in their org-mode-hook.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions