vim-dispatch-neovim
vim-dispatch-neovim copied to clipboard
Output is split at teminal/window width
When using the terminal method (https://github.com/radenling/vim-dispatch-neovim/blob/85deb470b53ab796e6201b3345de588f1d648555/autoload/dispatch/neovim.vim#L62-L78), the lines end up being split at the width of the terminal window, which then causes issues when using it with &errorformat etc.
For the other method, there's some joining of lines in place, but this would require for the terminal buffer to have soft-wrapping capabilities.
Using tee to write into the tempfile directly in that case seems to be a good workaround!
But it breaks e.g. Python's pdb slightly: cursor keys etc are not recognized anymore. To reproduce it:
python -c 'import pdb; pdb.set_trace()' | tee /tmp/tmp.txt