2072 / 2072/vim-syntax-for-PHP
Broken syntax highlighting for phtml files
- Langage dominant
- Vim Script
- Étoiles
- 16
- Forks
- 4
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Hello!
Is there any way to get back syntax highlighting for phtml files?
For template files where we mix HTML and PHP with this plugin it's only either PHP or HTML syntax highlighted.
Using the "built-in" php.vim syntax file does it correctly.
Thanks!
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
The issue is about syntax highlighting for .phtml files in a Vim plugin. Look at the plugin's syntax files (likely in syntax/ or after/syntax/) and compare with the built-in php.vim. Test by opening a .phtml file with mixed HTML and PHP to see the current behavior. The fix likely involves adjusting the filetype detection or syntax inclusion rules.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- vim
- Domaine
- devtools
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 65/100