mirror of
https://github.com/kristoferssolo/runner.nvim.git
synced 2025-10-21 19:50:34 +00:00
Use telescope dropdown theme
This commit is contained in:
parent
c2e9d0eba2
commit
efb4a77c15
@ -3,6 +3,7 @@ local finders = require('telescope.finders')
|
||||
local actions = require('telescope.actions')
|
||||
local action_state = require('telescope.actions.state')
|
||||
local sorters = require('telescope.sorters')
|
||||
local themes = require('telescope.themes')
|
||||
|
||||
local utils = require('runner.handlers.utils')
|
||||
|
||||
@ -45,7 +46,7 @@ M.choice = function(handlers)
|
||||
end
|
||||
|
||||
return function(buffer)
|
||||
local picker = pickers.new({}, {
|
||||
local picker = pickers.new({}, themes.get_dropdown({
|
||||
prompt_title = "Runner",
|
||||
finder = finders.new_table {
|
||||
results = vim.tbl_keys(handlers)
|
||||
@ -59,7 +60,7 @@ M.choice = function(handlers)
|
||||
end)
|
||||
return true
|
||||
end,
|
||||
})
|
||||
}))
|
||||
picker:find()
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user