rescript-lang / rescript-lang/vim-rescript
Nvim Treesitter support
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 164
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
Not sure if I should post it here, but the tree-sitter build-in neovim doesn't support rescript. It's a great improvement for color highlight and other plugins features ( I think about blankline or telescope preview for example).
With the recent release of nvim 0.5, it's now a must have.
If we look at the elm way, they have a dedicated repo: https://github.com/elm-tooling/tree-sitter-elm for the "regular" tree-sitter as a common based, then we can have the slightly different version targeting nvim as explain here: https://github.com/nvim-treesitter/nvim-treesitter/issues/529
Posting it here, as vs code took the opposite way to deprecied tree-sitter so it primaly focus neovim. Also, the current highlight syntax have some issue, it can fixed it at least for neovim, in what it seems to be an easier way than through LSP.
I will probably not have time to take care of it, but I post it here for the record anymway.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the current highlight syntax in the vim-rescript repository and the referenced Elm tree-sitter and nvim-treesitter approaches. Done means documenting or implementing a viable Neovim Tree-sitter support path and addressing the reported highlighting limitations, with the result checked against the requested Neovim features.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- neovim, vim
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100