feat(fps): Add refresh style display for telescope

This commit is contained in:
TJ DeVries
2022-06-11 14:57:10 -04:00
parent e6b69b1488
commit 26b357789b
33 changed files with 1550 additions and 1597 deletions
@@ -0,0 +1,39 @@
local testharness = require "telescope.testharness"
describe("testing harness", function()
it("should find the readme, using lowercase", function()
testharness.run_string [[
runner.picker('find_files', 'readme.md', {
post_typed = {
{ "> readme.md", GetPrompt },
{ " README.md", GetBestResult },
},
post_close = {
{ 'README.md', GetFile },
}
}, {
disable_devicons = true,
})
]]
end)
it("should find the readme, using uppercase", function()
testharness.run_string [[
runner.picker('find_files', 'RE', {
post_close = {
{ 'README.md', GetFile },
}
})
]]
end)
it("Should find telescope prompt file", function()
testharness.run_string [[
runner.picker('find_files', 'TelescopePrompt', {
post_close = {
{ 'TelescopePrompt.lua', GetFile },
}
})
]]
end)
end)