Skip to content

Commit

Permalink
fix: error on select
Browse files Browse the repository at this point in the history
  • Loading branch information
chenasraf committed May 4, 2024
1 parent 3d9a9f2 commit d1692d4
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions lua/text-transform/select.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ local state = require("text-transform.state")
local select = {}

function select.select_popup()
common.load_frequency()
state.save_positions()

vim.ui.select(common.items, {
Expand All @@ -20,13 +21,4 @@ function select.select_popup()
end)
end

function select.show_popup()
local config = _G.TextTransform.config
if config.popup_type == "telescope" then
select.telescope_popup()
else
select.select_popup()
end
end

return select

0 comments on commit d1692d4

Please sign in to comment.