rescript-lang / rescript-lang/vim-rescript
Nvim Treesitter support
Nessuno ha ancora preso questa issue.
- Lingua principale
- Vim Script
- Stelle
- 164
- Fork
- 17
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia esaminando la sintassi di evidenziazione attuale nel repository vim-rescript e gli approcci di Elm tree-sitter e nvim-treesitter a cui si fa riferimento. Il lavoro sarà considerato completo quando sarà documentato o implementato un percorso praticabile per il supporto di Tree-sitter in Neovim e saranno affrontate le limitazioni di evidenziazione segnalate, verificando il risultato rispetto alle funzionalità di Neovim richieste.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- neovim, vim
- Ambito
- tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 28/100