2072 / 2072/vim-syntax-for-PHP

Broken syntax highlighting for phtml files

Aperta Adatta ai principianti
#4 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
More info needed
Lingua principale
Vim Script
Stelle
16
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
vim
Ambito
devtools
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
65/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.