2072 / 2072/vim-syntax-for-PHP
Broken syntax highlighting for phtml files
- Dominant language
- Vim Script
- Stars
- 16
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
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!
Contributor guide
No contributing guide indexed for this repository
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vim
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 65/100