2072 / 2072/vim-syntax-for-PHP

Broken syntax highlighting for phtml files

未關閉 適合新手
#4 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
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

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。