2072 / 2072/vim-syntax-for-PHP

Broken syntax highlighting for phtml files

オープン 初心者向け
#4 コメント 1 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。