Sublime Forum

[fix included] sublime 3 php tokenizing includes whitespace

#1

this was exposed by a syntax theme: php’s syntax seems to be including excess whitespace - only really noticeable when using strange themes like this neon one. as goofy as the theme is, i really like it. was hoping someone could look into the syntax token stuff for the PHP language. theme author claims the python language does not have this issue. his screenshots of php in st2 do not show this issue.

see https://github.com/farzher/Sublime-Text-Themes/issues/7 for screenshot and discussion

0 Likes

#2

\Program Files\Sublime Text 3\Packages\PHP.sublime-package\PHP.tmLanguage

line 1511: delete \s* from start of regex.

0 Likes