mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-08-16 06:30:22 +03:00
[language-php] Remove firstLineRegex
and contentRegex
They don’t gain us anything, and in fact actually cause this grammar to be ranked _below_ the TextMate PHP grammar when they fail.
This commit is contained in:
parent
94d41ce82b
commit
2e36a24fc6
@ -24,7 +24,3 @@ fileTypes: [
|
||||
'phtml'
|
||||
'profile'
|
||||
]
|
||||
|
||||
firstLineRegex: "^\\#!.*(?:\\s|\\/)php\\d?(?:$|\\s)|^\\s*<\\?(php|=|\\s|$)"
|
||||
|
||||
contentRegex: "<\\?(php|=|\\s|$)"
|
||||
|
Loading…
Reference in New Issue
Block a user