We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cb9c1e commit eaf84d8Copy full SHA for eaf84d8
lua/text-transform/commands.lua
@@ -24,8 +24,14 @@ function TextTransform.init_commands()
24
end
25
26
-- specific popups
27
- vim.api.nvim_create_user_command("TtTelescope", popup.telescope_popup, {})
28
- vim.api.nvim_create_user_command("TtSelect", popup.select_popup, {})
+ vim.api.nvim_create_user_command("TtTelescope", function()
+ local telescope = require("text-transform.telescope")
29
+ telescope.telescope_popup()
30
+ end, {})
31
+ vim.api.nvim_create_user_command("TtSelect", function()
32
+ local select = require("text-transform.select")
33
+ select.select_popup()
34
35
36
-- auto popup by config
37
vim.api.nvim_create_user_command("TextTransform", popup.show_popup, {})
0 commit comments