feat: should download latest release on install#68
Conversation
268e722 to
7fbfec2
Compare
|
@pjlast / @mrnugget could you give this a go? I think this is ready to go. You should be able to wipe out your If so, I'll merge, then do a version bump and no more build step for users :) just a quick download step. |
|
First time user trying out this branch - this might not be strictly related to this branch but I'm having issues with initial start up. Stack trace
This is pre setting up sourcegraph login/auth via |
|
@tjdevries works! I just wiped everything from disk, added plugin,
The only thing that confused me: I think I have to restart Vim after the installation for the |
|
@jamestrew I pushed a new version of this, which should prevent the errors from happening. Also though, it's |
There was a problem hiding this comment.
I think there's something sus happening around
Lines 118 to 121 in 6138d65
I don't think the auth data is actually being saved correctly. So even though the SourcegraphLogin command shows up for me now (typo in my earlier comment), I still get caught on require("sg.request").request.
If I set up env variables for SRC_ENDPOINT, SRC_ACCESS_TOKEN, things look good though.
I do get some logging happening in the command line, but I take it that's just part of the pre-release nature of this plugin.
| ---@tag sg.rpc | ||
| ---@config { ["module"] = "sg.rpc" } | ||
|
|
||
| if not require "sg.request" then |
There was a problem hiding this comment.
Looks like with no login/auth, require "sg.request" is literally true so this condition will pass and still lead to the bad attribute access on line 8.
|
@jamestrew check last commit... haha i figured it out |

No description provided.