Added translation plugin "Pantran"

This commit is contained in:
SL1900
2025-08-09 03:41:05 +09:00
parent 6d4af2a0e1
commit 7f732edfb8
+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,
}