2072 / 2072/vim-syntax-for-PHP
Broken syntax highlighting for phtml files
- Ngôn ngữ chính
- Vim Script
- Star
- 16
- Fork
- 4
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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!
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- vim
- Lĩnh vực
- devtools
- Loại issue
- Lỗi
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 65/100