quolpr / quicktest.nvim

Run your tests in split window or popup with live feedback
MIT License
66 stars 5 forks source link

Custom filetype for the output window/buffer #10

Closed flunderpero closed 1 month ago

flunderpero commented 1 month ago

First of all, this plugin is great! It does not try to make nvim into VS Code and just runs my tests.

I would like to make gf jump back to the previous buffer and open the location there as most of the time i am running a single file / test. In order to script this, it would be great to give the output window its own filetype so I can write an autocommand for that.

quolpr commented 1 month ago

@flunderpero thanks for the issue! should work now for you 🙂

quolpr commented 1 month ago

@flunderpero actually at latest commit I removed name for buffers. You can now match only by filetype