Skip to content

Request: Enable use with Emacs 29's built-in tree-sitter modes #144

@denisw

Description

@denisw

Emacs 29 will come with built-in support for tree-sitter, but doesn't seem to ship any grammar binaries, not even those needed by the provided major modes (e.g., typescript-ts-mode).

tree-sitter-langs would be a great way to install those grammars, but it would need two tweaks to work out of the box:

  • The bin directory would need to be appended to the treesit-extra-load-path list.
  • The binaries are currently named ${lang}.so / ${lang}.dylib, but Emacs' tree-sitter code expects the original libtree-sitter-${lang}.so / libtree-sitter-${lang}.dylib naming.

Would you be interested in making these tweaks to make tree-sitter-langs work with the built-in Tree Sitter support as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions