Bonjour,
Mon vim ne colore pas les élément html 5 comme header, nav, section, etc.
Comment avoir la coloration syntaxique ?
[vim] coloration html5
-
- Elfe
- Messages : 618
- Inscription : dim. 27 avr. 2014, 09:32
-
- Chu Ko Nu
- Messages : 404
- Inscription : dim. 19 juin 2011, 18:53
- Localisation : dans le neuf trois
Re: [vim] coloration html5
La coloration fonctionne-t-elle pour d'autres types de fichier, bash ou sh par exemple ?
Si ta question concerne uniquement les éléments html5, comme d'hab : moteur de recherche + vim + html5, 1ère ligne des résultats
wget https://github.com/othree/html5.vim/archive/master.zip
Si ta question concerne uniquement les éléments html5, comme d'hab : moteur de recherche + vim + html5, 1ère ligne des résultats
wget https://github.com/othree/html5.vim/archive/master.zip
-
- Chu Ko Nu
- Messages : 404
- Inscription : dim. 19 juin 2011, 18:53
- Localisation : dans le neuf trois
Re: [vim] coloration html5
sinon la méthode bourrin
Code : Tout sélectionner
mkdir -p ~/.vim/after/syntax
echo 'syn keyword htmlTagName contained header nav section' > ~/.vim/after/syntax/html.vim