You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{ "AckslD/swenv.nvim",
config=function()
require('swenv').setup({
-- Should return a list of tables with a `name` and a `path` entry each.-- Gets the argument `venvs_path` set below.-- By default just lists the entries in `venvs_path`.get_venvs=function(venvs_path)
returnrequire('swenv.api').get_venvs(venvs_path)
end,
-- Path passed to `get_venvs`.venvs_path=vim.fn.expand('~/venvs'),
-- Something to do after setting an environmentpost_set_venv=nil,
})
end
},
lvim.builtin.which_key.mappings["P"] = {
name="Python",
i= { "<cmd>lua require('swenv.api').pick_venv()<cr>", "Pick Env" },
d= { "<cmd>lua require('swenv.api').get_current_venv()<cr>", "Show Env" },
}
get_current_venv doesn't work at all
pick_venv failed with the error "venvs is not accessible by the current user!"
The text was updated successfully, but these errors were encountered:
Did you ever figure out where the "is not accessible by the current user" error comes from?
I'm seeing the same when using the scan_dir from the plenary.nvim library:
"/path/to/journal is not accessible by the current user!"
-- scandir.luafori=#base_paths, 1, -1doifuv.fs_access(base_paths[i], "X") ==falsethenifnotF.if_nil(opts.silent, false, opts.silent) thenprint(string.format("%s is not accessible by the current user!", base_paths[i]))
endtable.remove(base_paths, i)
endend
get_current_venv doesn't work at all
pick_venv failed with the error "venvs is not accessible by the current user!"
The text was updated successfully, but these errors were encountered: