mirror of
https://github.com/anotherhadi/sttr.nvim.git
synced 2026-10-05 16:58:24 +02:00
+1
-1
@@ -3,7 +3,7 @@ local M = {}
|
|||||||
function M.setup()
|
function M.setup()
|
||||||
vim.api.nvim_create_user_command("SttrTransform", function()
|
vim.api.nvim_create_user_command("SttrTransform", function()
|
||||||
require("sttr.transform").run()
|
require("sttr.transform").run()
|
||||||
end, { desc = "sttr: transform visual selection" })
|
end, { desc = "sttr: transform visual selection", range = true })
|
||||||
|
|
||||||
vim.api.nvim_create_user_command("SttrClearCache", function()
|
vim.api.nvim_create_user_command("SttrClearCache", function()
|
||||||
require("sttr.transform").clear_cache()
|
require("sttr.transform").clear_cache()
|
||||||
|
|||||||
Reference in New Issue
Block a user