This commit is contained in:
Hadi
2026-05-21 13:56:31 +02:00
commit 2a0d03c258
4 changed files with 299 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
local M = {}
function M.setup()
vim.api.nvim_create_user_command("SttrTransform", function()
require("sttr.transform").run()
end, { desc = "sttr: transform visual selection" })
vim.api.nvim_create_user_command("SttrClearCache", function()
require("sttr.transform").clear_cache()
vim.notify("[sttr] cache cleared", vim.log.levels.INFO)
end, { desc = "sttr: clear transformations cache" })
end
return M