dccsillag / magma-nvim

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

[Bug] Float persists when using :MagmaDelete when 'let g:magma_automatically_open_output = v:false' #82

Open brianfabre opened 1 year ago

brianfabre commented 1 year ago

Describe the bug Using 'MagmaDelete' when the float is open and when 'let g:magma_automatically_open_output = v:false', the float will persist regardless of cursor position.

To Reproduce This is my current setting: let g:magma_automatically_open_output = v:false Basically, when automatically_open_output is set to false, and when the float is open, using ':MagmaDelete' will not delete the float but rather make it now persist regardless of cursor.

I believe the intended way of getting the float to go away is to simply move the cursor away from the code that was already ran. Instead of using ':MagmaDelete' I can just move my cursor to another line so this isn't a breaking bug but sometimes I would like to just have the float go away without moving my cursor.

Desktop (please complete the following information):