metakirby5 / codi.vim

:notebook_with_decorative_cover: The interactive scratchpad for hackers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This plugin work at nvim not as good as vim

cstsunfu opened this issue · comments

When I use this plugin at vim to code python, it works as expected.
screen shot 2018-12-08 at 8 03 29 pm
But when I use it at neovim, the output display is not good.
screen shot 2018-12-08 at 8 04 02 pm
I should switch the window to the codi window and move my cursor to the end of the output line to check the output of the code.
So what should I do to make the plugin do the same thing as at vim. Or how to make the outputs of the plugin to the beginning of the left of codi window, that I can see the output without switching the window and moving the cursor.

hah you beat me to it. was having this problem as well.
Apparently everything(except integer) shifts the buffer windows alittle to the left.

EDIT: found a workaround at the expense of any colourful syntax,
make a macro doing ( :Codi python ), ( :tabnew ), ( :q ), ( :Codi python ).
Or you can just add an integer at the first line of your codes.

Hah! found a better one.
.config/nvim/plugged/codi.vim/plugin/codi.vim

let g:codi#rightalign = 1 (set it to 0)