nvim-neotest / neotest

An extensible framework for interacting with tests within NeoVim.
MIT License
2.26k stars 110 forks source link

Feature Request - Status as virtual text like in Ultest #61

Closed weilbith closed 2 years ago

weilbith commented 2 years ago

Hey 👋🏾

I'm a long time vim-ultest user and starting to try out neotest and adapt everything to how it was before (mostly). One thing that is "missing" is the option to display the test status icons as virtual text instead of in the sign column. For me this works much better as the sign column is already pretty overloaded. Would be amazing if you could add an option to this status consumer that allows to toggle this behavior.

Thank you! 🙃

rcarriga commented 2 years ago

OK you can now use virtual text :smile: To enable:


require("neotest").setup(
    status = {
      signs = false,
      virtual_text = true
    },
    ...
)
weilbith commented 2 years ago

Great! Works like charm. That was super fast. Thank you very much! 🤗