Open mooreniemi opened 3 years ago
I figure due to this not matching:
The second regex (search('\m\C^\s*fn\s\+\h\w*\s*(.\+{$', 'eW')
) also does not work because tokio::test
functions are async, and async fn
is not matched by it. If someone would fix it, make a note that the test functions can be also pub fn
or pub(crate) fn
or pub async(crate) fn
.
Hello! Sorry for deadposting, but has there been any update on this? 😊
Steps to reproduce:
:RustTest
Expected vs. actual behavior:
Works:
Does not work:
Paste debugging info from the Rust Vim plugin via one of the following commands:
:RustInfo
,:RustInfoToClipboard
, or:RustInfoToFile <filename>
.