-
Thanks for this great plugin! Since upgraded NeoVim to 0.10, I noticed that when running all tests (via
Thanks again! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey 👋 That quote from the readme was outdated rust-tools documentation that I forgot to remove. This plugin doesn't have a You can set the vim.g.rustaceanvim = {
tools = {
test_executor = 'termopen',
},
} It doesn't really matter where you put the table. This plugin will read from it when you open a rust file. lazy.nvim users typically define it in the Currently, horizontal splitting for |
Beta Was this translation helpful? Give feedback.
The
background
test_executor
is only intended for tests, notrunnables
in general.With the
termopen
executor, I don't think you can reattach (unless the buffer is still open, but hidden, in which case it would be a question of finding and switching back to the buffer).The
toggleterm
executor (requires the toggleterm plugin) should be able to reattach, using the:Toggleterm <id>
command, where<id>
is the ID of the terminal (numbered starting from 1).