Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out best way to include injections/highlights/etc into nvim-treesitter or other programs. #6

Open
vantreeseba opened this issue Jun 14, 2021 · 3 comments
Assignees

Comments

@vantreeseba
Copy link
Owner

No description provided.

@tobil4sk
Copy link
Contributor

The official guide for neovim treesitter says to move these manually: https://github.com/nvim-treesitter/nvim-treesitter#adding-parsers. If this is added to the official nvim-treesitter plugin, the extra configuration steps can be avoided.

Aside from what is mentioned in the guide, I also had to add this to my nvim init, which was also mentioned in the previous issue:

configs.setup {
    ensure_installed = { "haxe" },
    highlight = {
        enable = true
    }
}

@danielo515
Copy link

Hello.
I suggest you to create a separate repository that wraps this as a neovim plugin.
I made that for my reason ml tree-sitter. Here is the plugin: https://github.com/danielo515/nvim-treesitter-reason
It is very straightforward, and after that all you need to do is install like any other regular neovim plugin. I can offer help if you want. This can even be automated using github actions

@vantreeseba
Copy link
Owner Author

Just to update if anyone is paying attention, the process of getting it into nvim-treesitter is started, but there are some issues with my PR, which I'll be trying to fix soon.

Thanks for all the input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants