diff --git a/lua/text-transform/select.lua b/lua/text-transform/select.lua index 151da0d..56c813b 100644 --- a/lua/text-transform/select.lua +++ b/lua/text-transform/select.lua @@ -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, { @@ -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