Closed thenbe closed 5 months ago
Thanks, this seems to be working for me.
Could we pass in telescope options? For example if I wanted to use the layout:
local opts = {
layout_strategy = "vertical",
layout_config = {
width = 0.5,
height = 0.50,
vertical = {
prompt_position = "bottom",
},
},
}
require("neotest-playwright").adapter({
options = {
experimental = {
use_telescope = true,
opts = opts
},
},
}),
Good to hear it's working for you.
I've changed the options signature to allow custom telescope options. If no options are set, it now falls back to the user's default telescope opts (as set in their original telescope config).
experimental = {
- use_telescope = true
+ telescope = {
+ enabled = true,
+ opts = {},
+ },
}
Beautiful! This works great.
closes #20 closes #29
Feedback welcome. To test this PR: