Question about the relationship to vim-test
See original GitHub issueDescribe the bug
For a go
test file, the commands don’t seem to work properly.
Let’s say I open a ..._test.go
file, when I run :TestFile
, it runs all the tests, and when I do :TestNearest
, it correctly run the test I’m in using the following command (I’m using richgo
for my go
tests):
richgo test -run '\''MyTest$'\'' ./parent/child/current'; richgo test -run 'MyTest$' ./parent/child/current
However, when I do :UltestNearest
, I see no Go files in /parent
I open vim
in ./parent
directory and I go to the file ./parent/child/current/file_test.go
, and that’s where I’m trying to run the tests
Also, I’m not sure if I see this error because of what’s happening above, but I thought I mention this too.
When I run :UltestSummary
, I see the following error:
Error detected while processing function ultest#summary#toggle[4]..ultest#summary#open[2]..<SNR>484_OpenNewWindow[29]..<SNR>484_FullRender[2]..<SNR>484_Clear:
line 2:
E118: Too many arguments for function: clearmatches
To Reproduce I think the explanation covers this part
Expected behavior
I was expecting for vim-ultest
to mimic what vim-test
does, with added features
Screenshots
Here’s a screenshot of the output. Maybe it’s worth noting that the right border of the box seems to be missing inside tmux
. when I run it outside of tmux
, the box seems to be fine … actually, I lied! I exited and tried again and it was find inside of tmux
, but I’m keeping the screenshot just in case 🙂
Sorry if I’m bothering you with all the issues I’m creating, but the plugin seems to be very promising and useful I’m doing my best to use it, but I’m not able to succeed
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
I appreciate it @rcarriga for you being super fast at replying and resolving these issues. Keep it up 👍
Oh sorry about that didn’t realise there is an issue with 8.1 patch detection (found it here https://github.com/neovim/neovim/issues/9635), I’ve added a check for nvim 0.5.0 which should work