Closed aarondill closed 1 month ago
I can confirm this bug. It started happening after the latest plugin update.
same here, I almost pushed the config.json to my public repo. I get that it might be useful to have a config for each project, but maybe let us set a default path to the plugin config that it can use if there is none in the project directory. and dont force it
Maybe this can help others, until this is fixed, you can define the exact version of the plugin. If you are also using Lazy, then add this specific version from the commit before SM_EDITOR = "neovim"
was set:
{
'supermaven-inc/supermaven-nvim',
commit = 'df3ecf7',
config = function()
require('supermaven-nvim').setup {
Same bug almost committed it to repo and this prompts for me in every folder i open.
also your aggressive popup, reminding me of this issue whenever i open nvim in a new folder 👎 its not only pissing me off, there's also no need to constantly force open that popup. you might want to consider changing that behaviour
Maybe this can help others, until this is fixed, you can define the exact version of the plugin. If you are also using Lazy, then add this specific version from the commit before
SM_EDITOR = "neovim"
was set:{ 'supermaven-inc/supermaven-nvim', commit = 'df3ecf7', config = function() require('supermaven-nvim').setup {
@jsnanigans I tried that, but it doesn't seem to work for me. That's why I suspect this was changed in sm-agent
, rather than the nvim
plugin directly.
@aarondill works for me, make sure to update the plugin, maybe delete the install folder and reinstall. the commit which fix it for most of us (https://github.com/supermaven-inc/supermaven-nvim/commit/c5bb0490bdfc36a7841e5b82c8f6b92b5b8beef3) just pass a new environment variable to sm-agent, so indeed it's probably that
I forgot to actually "update" the plugin :facepalm:. It works now, thanks.
@aarondill Hey mate, could you please tell me what you did to fix the issue? I updated the plugin but it still creates .supermaven/config.json on every startup
I added the commit from jsnanigans' comment, then opened lazy and deleted the plugin (press x
), then exited nvim
and ran rm -r ~/.supermaven/
, reopened nvim
and ran :SupermavenUseFree
.
just running Lazy update works too
On Wed, 17 Jul 2024 at 3:47 PM, Aaron Dill @.***> wrote:
I added the commit from jsnanigans' comment, then opened lazy and deleted the plugin (press x), then exited nvim and ran rm -r ~/.supermaven/, reopened nvim and ran :SupermavenUseFree.
— Reply to this email directly, view it on GitHub https://github.com/supermaven-inc/supermaven-nvim/issues/74#issuecomment-2232951952, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARKMPOJ7JJRC3ONGDC7B3T3ZMZACBAVCNFSM6AAAAABK5ZQPW2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZSHE2TCOJVGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I still have this issue and have updated the plugin
the faulty commit has been reverted.
Closing thanks to d71257f
Recently, this plugin has begun creating
./.supermaven/config.json
if it doesn't exist (relative to CWD). It also forces the user to call:SupermavenUseFree
each time this file is created, rather than creating/using~/.supermaven/config.json
. Note that downloaded binaries are still stored in~/.supermaven/config.json
.I suspect this is an upstream problem (with
sm-agent
), however there's no available bug tracker for the upstream.