These are chat archives for nelsam/vidar
@Kvaz1r That would be ideal, but maybe difficult. I haven't had a chance to see how hard it is to move the suggestion provider to commands, yet. For now, I would recommend:
NewGoCodeProviderso that instead of taking
gopath stringas an argument, it takes
environ stringas an argument and stores that in a field.
cmd.Env = p.environ.
SplitEditor, take in the
environ stringand pass it to the
Openmethod on the
ProjectEditor, pass in the
I think that this solution will work on OS X, linux, and Windows, and it won't take ages. Long term, I'd like the
GoCodeProvider to go away and instead have a
commands.GoCode which does all this; but that's a difficult thing to do right now.