-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
I am trying to open an .ipynb file in neovim but I get the following error:
Error executing vim.schedule lua callback: vim/_editor.lua:0: nvim_exec2()[1]..BufReadCmd Autocommands for "*.ipynb": Vim(append):Error executing lua callback: ...cal/share/nvim/lazy/jupytext.nvim/lua/jupytext/utils.lua:17: attempt to index field 'kernelspec' (a nil value)
stack traceback:
...cal/share/nvim/lazy/jupytext.nvim/lua/jupytext/utils.lua:17: in function 'get_ipynb_metadata'
...ocal/share/nvim/lazy/jupytext.nvim/lua/jupytext/init.lua:70: in function 'read_from_ipynb'
...ocal/share/nvim/lazy/jupytext.nvim/lua/jupytext/init.lua:176: in function <...ocal/share/nvim/lazy/jupytext.nvim/lua/jupytext/init.lua:175>
[C]: in function 'nvim_exec2'
vim/_editor.lua: in function 'cmd'
...hare/nvim/lazy/snacks.nvim/lua/snacks/picker/actions.lua:115: in function 'jump'
...hare/nvim/lazy/snacks.nvim/lua/snacks/picker/actions.lua:36: in function <...hare/nvim/lazy/snacks.nvim/lua/snacks/picker/actions.lua:35>
stack traceback:
[C]: in function 'nvim_exec2'
vim/_editor.lua: in function 'cmd'
...hare/nvim/lazy/snacks.nvim/lua/snacks/picker/actions.lua:115: in function 'jump'
...hare/nvim/lazy/snacks.nvim/lua/snacks/picker/actions.lua:36: in function <...hare/nvim/lazy/snacks.nvim/lua/snacks/picker/actions.lua:35>This comment mentions that it is because there is no kernelspec attribute in the notebook.
I am not sure how to provide that or if it's a bug?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels