添加快捷键翻译插件

This commit is contained in:
caprain 2026-04-14 22:10:51 +08:00
parent 5a316c8b4e
commit 81b9d5964e
6 changed files with 49 additions and 11 deletions

View file

@ -45,11 +45,18 @@
"\t\tend)",
"\tend",
"})",
"-- vim.keymap.set({ \"n\", \"x\" }, \"${8:<++>}\", function()",
"-- 特定命令触发",
"-- vim.api.nvim_create_user_command(\"${8:<++>}\", function()",
"-- \tPackUtils.load(P, function()",
"-- \t\t$9",
"-- \tend)",
"-- \tvim.cmd(\"${10:Command}\")",
"-- end, { desc = \"${10:描述}\" })",
"-- 快捷键触发",
"-- vim.keymap.set({ \"n\", \"x\" }, \"${11:<++>}\", function()",
"-- \tPackUtils.load(P, function()",
"-- \t\t$12",
"-- \tend)",
"-- \tvim.cmd(\"${13:Command}\")",
"-- end, { desc = \"${0:描述}\" })"
],
"description": "Neovim Native Package Loader (Pure Config)"