metakirby5 / codi.vim

:notebook_with_decorative_cover: The interactive scratchpad for hackers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Partial output

Flamme13 opened this issue · comments

How I can fix the output of the array or object.

Now I have output only the last line.

Selection_017

I tried to disable virtual text but it did not help.

Environment

  • Operating system (Ubuntu 20.04)
  • Version of script (if you don't know, just paste the last line of the man page - vim:ft=help:tw=78:sw=13:norl:)
  • vim --version (NVIM v0.6.0)

This is because the output is itself multi-line per input line. It's only possible to display up to one line of output for each line of input. If the other lines had output, there would be nowhere for the excess output to go.

image

seems like bug =(

because I can work only with simple data.

is it possible to specify multi-line output in the settings?

Codi is largely only meant for simple data, since the entire buffer is run again with every keystroke.
As mentioned before, multiple lines are not supported, because there is simply nowhere for the extra lines to go.

You may reformat multi-line output into a single line by implementing rephrase. For more details, please refer to the OUTPUT SPECIFICATION.

Thanks for the answer.