Skip to content

Document LANGUAGE_VERSION for releases #44

Description

@SohamG

Hello,

I'm trying to use this library in a non-neovim (emacs) context. I ran into a quite perplexing roadblock where I would get a "version mismatch" when I tried to import the dynamic library into emacs. I had to do some digging and read other people's experiences to realize what "version" meant, and how I could find a prior release of this library that supports that version. Emacs for now supposedly still requires version 14, whereas the tip/latest couple releases of this repo are version 15. Note that this is poorly documented on the treesitter side as well (and perhaps the emacs side - will follow up with them).

It would be nice to have the value of the LANGUAGE_VERSION macro from src/parser.c in one or more of release notes, README, commit log, etc. I am unsure if there is a way to get this value from the tree-sitter cli-based generator.

For anyone wondering, I found out manually that release 0.17.0 was the latest version 14 release.

Thanks.

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