naomi icon indicating copy to clipboard operation
naomi copied to clipboard

babel-sublime snippets don't work with Naomi syntax setting

Open seanders opened this issue 7 years ago • 2 comments

I just installed Naomi, and it's causing babel-sublime-snippets not to be in scope.

It looks like babel-sublime-snippets are excluded from any meta scope. Here's the line in question: https://github.com/babel/babel-sublime-snippets/blob/master/react_component_class.sublime-snippet#L15

If you remove the meta part, the snippets seem to work great.

My JS files have this scope:

image

Should I just consider this an issue with the babel-sublime-snippets? I don't know about about scopes in Sublime to make that judgement call.

Thanks!

seanders avatar Aug 25 '18 01:08 seanders

It is indeed a compatibility issue, I'll remove the meta.naomi scope tomorrow.

borela avatar Aug 25 '18 02:08 borela

I removed the meta scope https://github.com/borela/naomi/releases/tag/v4.2.3 and the snippets are working now :D

borela avatar Aug 25 '18 11:08 borela