ray-x / go.nvim

G'day Nvimer, Joyful Gopher: Discover the Feature-Rich Go Plugin for Neovim
MIT License
1.9k stars 119 forks source link

:GoTest -n flag? #431

Open eloytoro opened 4 months ago

eloytoro commented 4 months ago

These are the docs for GoTest

:GoTest {-cnfpt} {-t tagname} {package_name} {-a args}                     *:GoTest*
        -c: compile test in current package
        -n: test nearest
        -v: test verbose mode
        -f: test current file
        -p: test current package
        -t: compile tag
        -a: extra args for test, check `go help testflag` concatenate
        with '\ ' if there are any spaces or mulitple args
        -n {count}: disable cache -count={count}
        package_name: test package

The -n flag appears twice, for different purposes, the last one is particularly confusing because it mentions -count, but that's not a valid flag for this command