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

Unable to close first html tag #213

Closed mvllow closed 5 years ago

mvllow commented 5 years ago

I am not able to put a greater-than sign after html tags in js[x] files*. Had this issue and fresh installed sublime on macOS and it went away for a little and then started happening again.

Closing and reopening does not fix. Only plugins are JsPrettier and Naomi. Switched to stock JS syntax and works fine (minus shitty highlighting of course).

import React from 'react';

export default () => {
    const x = 0;

    return (
        <div [can't put a greater-than sign here]
    )
}

*Pressing the > key does nothing

Edit: Console output below

Assigning js to syntax Packages/naomi/syntaxes/naomi.fjsx15.sublime-syntax
Packages/naomi/syntaxes/naomi.fjsx15.sublime-syntax: context Packages/Naomi/syntaxes/fjsx15/literal/string/styled-component.sublime-syntax#styled-component-content has a scope name, but is unreachable, so the name will never be used
Packages/naomi/syntaxes/naomi.fjsx15.sublime-syntax: context Packages/Naomi/syntaxes/fjsx15/destructuring/object/property.sublime-syntax#meta-destructuring has a scope name, but is unreachable, so the name will never be used
mvllow commented 5 years ago

Apologies, this was because my locally built version had a lowercase package folder 🤭

borela commented 5 years ago

No problem, thank you for isolating the issue :D