rescript-lang / rescript-lang/vim-rescript

Nvim Treesitter support

Abierto
#49 7 comentarios 7 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Lenguaje dominante
Vim Script
Estrellas
164
Forks
17
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Comienza revisando la sintaxis de resaltado actual del repositorio vim-rescript y los enfoques de Elm tree-sitter y nvim-treesitter mencionados. Se considerará terminado documentar o implementar una vía viable para la compatibilidad con Tree-sitter en Neovim y abordar las limitaciones de resaltado indicadas, con el resultado comprobado frente a las funcionalidades de Neovim solicitadas.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
neovim, vim
Área
tooling
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
28/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.