-
Notifications
You must be signed in to change notification settings - Fork 52
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
attempt to call field 'isarray' (a nil value) - some kind of configuration problem #144
Comments
Duplicate of #127. |
not a duplicate - this is not caused by erroneous configuration or an outdated version of neovim. it's a similar error caused by a separate problem |
The issue in this line:
Something is wrong with either your version of Neovim or config.autoload_mode .
|
{
'Shatur/neovim-session-manager',
config = function()
-- vim.isarray = function () return false end
require('session_manager').setup {
autoload_mode = require('session_manager.config').AutoloadMode.CurrentDir,
autosave_last_session = true,
}
end,
dependencies = {
'nvim-lua/plenary.nvim',
}
}; looks completely fine to me, does not error if I define vim.isarray |
Weird, not sure why it happens... |
I encountered the same problem, and it could be because of using nvim v10.0-dev |
I guess it's some problem with when the
SessionLoad*
event is field and when the code that definesvim.isarray
is evaluated, but I'm unsure. I would maybe just consider not usingvim.isarray
, but feel free to just close this if you don't want to support the insane number of permutations neovim configurations come in.thought this might be helpful to other end users anyways
The text was updated successfully, but these errors were encountered: