hedefalk / atom-vue

Vue component file syntax for Atom

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Null Propagation operator support

DutchGerman opened this issue · comments

When using the Null Propagation operator ( ?. ) in a file it breaks the syntax highlighting.

When you use it in the template:
grafik

When you use it in the script:
grafik

Looking into this, this seems that the issue stems from the fact that Atom previously did not support optional chaining operators in JavaScript. That's why as reported by others using language-babel instead would resolve the issue.

This was fixed in Pulsar:

Testing now, with the latest version of Pulsar gives me the following: (When trying to duplicate the shown snippet of text)

image

So as long as you are up to date on Pulsar, this issue should be resolved.