elixir-editors / elixir-editors/vim-elixir
heex template highlighting breaks when there's a space at the end of an attribute
- Lingua principale
- Ruby
- Stelle
- 1.3k
- Fork
- 154
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hi everyone
I've tested this on a "raw" vim with only the vim-elixir plugin, to make sure that no other plugins are interfering.
The bug is that adding a single space at the end of an attribute breaks the highlighting, as can bee seen here (the closing div is the wrong color):

And this is what it should look like:

This is obviously not an issue for the given example, but I get the same error when I have more complicated attributes that embed some elixir code, like e.g.:
```
```
this will trigger the same problems.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Riproduci il problema in Vim puro usando solo il plugin vim-elixir, con un attributo con e senza uno spazio finale e l'esempio Elixir incorporato. Inizia dal punto di ingresso dell'evidenziazione della sintassi del plugin; il lavoro è completato quando il div di chiusura e gli attributi mantengono l'evidenziazione prevista in entrambi i casi.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- elixir, vim
- Ambito
- tooling
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100