2072 / 2072/vim-syntax-for-PHP

Broken syntax highlighting for phtml files

Abierto Apto para principiantes
#4 1 comentario 0 reacciones 0 asignados Ver en GitHub
More info needed
Lenguaje dominante
Vim Script
Estrellas
16
Forks
4
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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!

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
vim
Área
devtools
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
65/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.