New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apply itself for igo files #896

Open
pjebs opened this Issue Dec 18, 2018 · 5 comments

Comments

Projects
None yet
2 participants
@pjebs
Copy link

pjebs commented Dec 18, 2018

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

@DisposaBoy

This comment has been minimized.

Copy link
Owner

DisposaBoy commented Dec 18, 2018

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).

@pjebs

This comment has been minimized.

Copy link

pjebs commented Dec 18, 2018

'text.plain '

@DisposaBoy

This comment has been minimized.

Copy link
Owner

DisposaBoy commented Dec 18, 2018

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?

@pjebs

This comment has been minimized.

Copy link

pjebs commented Dec 19, 2018

@DisposaBoy

This comment has been minimized.

Copy link
Owner

DisposaBoy commented Dec 19, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment