borela / naomi

Sublime Text enhanced syntax highlighting for JavaScript ES6/ES7/ES2015/ES2016/ES2017+, Babel, FlowType, React JSX, Styled Components, HTML5, SCSS3, PHP 7, phpDoc, PHPUnit, MQL4. Basic: Git config files.
Other
557 stars 20 forks source link

Other syntax highlight not working in PHP (Naomi) color scheme #243

Open dharnarh opened 4 years ago

dharnarh commented 4 years ago

When working with a php file and you have html5, and Javascript code there, they do not have any color scheme, it's just looking like plain text, any way to allow this in PHP extensions.

<select name="department" required id="" class="form-control custom-select rounded-0">
  <option value="location">Select Department</option>
  <?php foreach ($result as $row) { ?>
  <option value="<?= $row[0] ?>"><?= $row[1] ?></option>
  <?php } ?>
</select>

In PHP (Naomi) the html syntax looks like plain text. What do I do?

borela commented 4 years ago

I am working on the building system that will solve this issue and many others, for now no fix is available, sorry :/.

dharnarh commented 4 years ago

Okay

nullhook commented 4 years ago

@borela have you had the chance to fix this issue?