elixir-editors / elixir-editors/vim-elixir
syntax highlighting broken for `.*eex` files
- Lenguaje dominante
- Ruby
- Estrellas
- 1.3k
- Forks
- 154
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
After the recent change that [removed ftdetect](https://github.com/elixir-editors/vim-elixir/pull/560), syntax highlighting is no longer working for `.*eex` files (`.heex`, `.leex`, etc). It appears that the default filetype detection marks these files as e.g. `ft=heex` instead of `ft=eelixir`, as the previous `ftdetect` plugin did.
# Actual
```
set ft?
filetype=heex
```

# Expected
If I run `set ft=eelixir`, I get this:

However, if I first run `let b:eelixir_subtype = 'heex'`, I get this:

Not sure which of these is correct.
```
$ nvim --version
NVIM v0.7.0-dev+1348-g524f6294a
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by a80323765@USC02F834HMD6N
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/local/Cellar/neovim/HEAD-524f629/share/nvim"
Run :checkhealth for more info
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Revisa el cambio que eliminó el plugin ftdetect y reproduce la detección de .heex, .leex y otros archivos .*eex en Neovim. Compara el comportamiento resultante de ft=heex con ft=eelixir y con el caso eelixir_subtype=heex; se considera completado cuando estos archivos reciben automáticamente el resaltado de sintaxis previsto.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- elixir, vim
- Área
- tooling
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100