2072 / 2072/vim-syntax-for-PHP
Broken syntax highlighting for phtml files
- Vorherrschende Sprache
- Vim Script
- Sterne
- 16
- Forks
- 4
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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!
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- vim
- Bereich
- devtools
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 65/100