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
557 stars 20 forks source link

Naomi appears to break Sublime Text (4?) indexer, causes 100% cpu usage #266

Open jamesandres opened 2 years ago

jamesandres commented 2 years ago

My machine had been slow for quite a while and upon investigating the cause it became obvious that something was causing Sublime to be stuck in an indexing loop (using spikes of 100% CPU, then going idle for 30 seconds or so).

The culprit was:

reloading python 3.3 plugin Naomi.__init__
generating meta info summary
error parsing lexer: Packages/Naomi/syntaxes/css3/combinator.sublime-syntax: invalid type for match at line 24 column 14

Disabling Naomi resolves the issue.

The issue has been present in Sublime Text 4 builds 4124, 4123, and 4122 at least.

NB: It seems the Naomi project might be dead? But this information may help someone Googling for a solution.

borela commented 2 years ago

Sorry for not updating the project, I have been working a lot in the last couple of months, but the routine is changing and getting easier and I'll be able to dedicate some time again to this project.