nvim-neotest / neotest-go

MIT License
125 stars 43 forks source link

[Feature request] args optional setup argument #10

Closed Malefaro closed 2 years ago

Malefaro commented 2 years ago

Hi

Can we get optional setup argument args like in neotest-python to provide extra_args from setup ? For example:

require('neotest-go')({
    args = {"-timeout=60s","-count=1"}
})

Because providing them via neotest.run.run({extra_args={...}}) forces them to be specified in key bindings, which is not necessary when using neotest in other languages and may conflicts

akinsho commented 2 years ago

@Malefaro FYI 👉🏿 https://github.com/nvim-neotest/neotest-go#contributing

Malefaro commented 2 years ago

https://github.com/nvim-neotest/neotest-go/pull/11

akinsho commented 2 years ago

closed by #11