Added translation plugin "Pantran"

This commit is contained in:
2025-08-09 03:41:05 +09:00
parent be2cdeb988
commit 131589e0e7
+14
View File
@@ -0,0 +1,14 @@
return {
"potamides/pantran.nvim",
config = function ()
local pantran = require("pantran")
pantran.setup({
default_engine = "google",
window = {
title_border = { "<<", ">>" },
}
})
vim.keymap.set("n", "<leader>tr", pantran.motion_translate, {expr=true})
vim.keymap.set("v", "<leader>tr", pantran.motion_translate, {expr=true})
end,
}