princemaple / ngx-html-syntax

Ngx (Angular2+) HTML Syntax for SublimeText
https://packagecontrol.io/packages/Ngx%20HTML
MIT License
15 stars 4 forks source link

'=' in HTML messes things up #16

Closed Gilwe closed 6 years ago

Gilwe commented 6 years ago

Hi, I have a problem regarding the highlighting in html:

image

After the = in the fifth row, everything looks and acts like a string.

I have installed as written in the readme file:

In my ApplySyntax.sublime-settings

"syntaxes": [
    {
        "syntax": "Ngx HTML/NgxHTML",
        "extensions": ["component.html"],
    }

Also, I've installed using the ngx-html-syntax Package control.

This package is great, would appreciate help with this prob

Thanks!

princemaple commented 6 years ago

https://github.com/princemaple/ngx-html-syntax/issues/15 have you seen this?

Gilwe commented 6 years ago

Yes I have (deleted my comment there to open ths issue. I just don't know how to use the dev build instead of the version I use right know

princemaple commented 6 years ago

Answering the questions one by one:

How to use dev build? go to sublimetext.com/3dev Can we fix for stable version? No, the latest version of the package uses some dev features. The alternative is to grab an older version of the package. Can't see Ngx in package control? I had sent a PR to rename the package from angular 2 HTML to the current name, while doing so I also marked as requiring sublime 3156+, which is higher than the current stable.

princemaple commented 6 years ago

Feel free to reopen or reply with more questions!

Gilwe commented 6 years ago

Ooooh You mean the dev build of SublimeText itself. I thought you ment the dev ver of Ngx HTML in this thread.

Thank you very much 👍

princemaple commented 6 years ago

Haha sorry about the miscommunication.