dccsillag / magma-nvim

Interact with Jupyter from NeoVim.
GNU General Public License v3.0
977 stars 49 forks source link

[Bug] Buffer not initialised on MagmaPostInit #88

Open meatballs opened 1 year ago

meatballs commented 1 year ago

Describe the bug The MagmaPostInit autocmd is called before the buffer has been added to Magma.buffers and so is not initialised.

To Reproduce Steps to reproduce the behavior:

  1. Define a MagmaPostInit autocmd that relies on the buffer being initialised
  2. Call MagmaInit

Expected behavior The autocmd should run without error