rust-lang / rust.vim

Vim configuration for Rust.
Apache License 2.0
3.91k stars 297 forks source link

:Cargo command does not respect :vertical #474

Open agraven opened 2 years ago

agraven commented 2 years ago

Steps to reproduce:

Expected vs. actual behavior:

godinenbicicleta commented 1 year ago

not a fix, but this is one way to do it:

:execute 'vsplit' | terminal 'cargo' 'check'

And if you like that behavior, you can add this line to your init.vim (neovim)

let g:cargo_shell_command_runner = 'vsplit | terminal'