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

Syntax highlighting for JSON files #210

Open Svish opened 5 years ago

Svish commented 5 years ago

Decided to use naomi for my syntax highlighting, and to keep Sublime clean, I decided to remove babel and such. But now I no longer have any highlighting for JSON files, which I'd say are fairly common in javascript projects.

Any chance of getting JSON file syntax highlighting in naomi?

borela commented 5 years ago

I believe the problem was that Babel required you to disable to default JavaScript package because of conflicts, you can reenable it again and the JSON syntax will show.

  1. Go to preferences > settings;
  2. At the "ignored_packages", remove the Javascript from the list.