GoSublime icon indicating copy to clipboard operation
GoSublime copied to clipboard

apply itself for igo files

Open pjebs opened this issue 7 years ago • 5 comments

Is there anyway for gosublime to pretend that an igo file is a go file and apply itself?

pjebs avatar Dec 18 '18 04:12 pjebs

What's the scope name of an igo file? You can find it by opening the Sublime Text console and running view.scope_name(0).

DisposaBoy avatar Dec 18 '18 09:12 DisposaBoy

'text.plain '

pjebs avatar Dec 18 '18 09:12 pjebs

Is that inside a igo file? I'd expect it to be using a custom syntax definition of some sort. What's an igo file anyway?

DisposaBoy avatar Dec 18 '18 09:12 DisposaBoy

https://github.com/rocketlaunchr/igo

pjebs avatar Dec 19 '18 19:12 pjebs

If you or someone else created a syntax definition for it, I'd be willing to add a special-case if possible. But I don't think that'd be enough because it seems like it uses a different syntax that would fail when GoSublime uses the official go tools on it.

DisposaBoy avatar Dec 19 '18 21:12 DisposaBoy