BlueSilverCat / highlight-registered-keyword

highlight-registered-keyword package for atom
MIT License
1 stars 1 forks source link

Error 'patternsFilePath' on install and any subsequent start with plugin enabled #3

Closed TrySpace closed 6 months ago

TrySpace commented 5 years ago

This error occurs

Cannot read file from patternsFilePath
Error: ENOENT: no such file or directory, open ''

Even without any other plugins enabled. Atom 1.36.0 x64

BlueSilverCat commented 5 years ago

Thanks for your report.

Please set a patternsFilePath and a styles.less. See sample file in readme.

Of course it's bad behavior. I will fix it if I had more time.

TrySpace commented 5 years ago

I guess this happens because I had no PatternsFilePath set. But this is very uncommon behaviour for a plugin, it should work out of the box without configuring anything.

Or preferably it should only give the error when I activate the plugin.

BlueSilverCat commented 5 years ago

oh, file is empty. In any case, It's a very rudimentary bug.

Please wait for fix it. but I don't know when that will be.