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
558 stars 18 forks source link

Using 'Function' constructor in an object breaks JS highlighting #190

Closed olofssonanton closed 5 years ago

olofssonanton commented 5 years ago

Example:

someFunction({
  myString: '',
  myFunctionConstructor: Function
});

const somethingElse = null;

image

borela commented 5 years ago

Fixed https://github.com/borela/naomi/releases/tag/v4.2.10

olofssonanton commented 5 years ago

Solved it, thanks!