2072 / 2072/vim-syntax-for-PHP
Broken syntax highlighting for phtml files
未关闭
适合新手
More info needed
- 主要语言
- Vim Script
- 星标
- 16
- 派生
- 4
- PR 合并指标
- 30 天内没有已合并 PR
描述
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!
贡献指南
这个仓库没有索引到贡献指南
调研方向
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.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- vim
- 领域
- devtools
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 65/100