tree-sitter-haxe icon indicating copy to clipboard operation
tree-sitter-haxe copied to clipboard

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

Open vantreeseba opened this issue 4 years ago • 3 comments

vantreeseba avatar Jun 14 '21 18:06 vantreeseba

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
    }
}

tobil4sk avatar Apr 20 '22 12:04 tobil4sk

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

danielo515 avatar Feb 20 '23 11:02 danielo515

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.

vantreeseba avatar Aug 18 '23 21:08 vantreeseba