From 308ece13f1ca30191a67c400e29ab5c518488abc Mon Sep 17 00:00:00 2001 From: minco Date: Wed, 20 Aug 2025 14:14:37 +0900 Subject: [PATCH] feat: korean --- lazy-lock.json | 1 + lua/plugins/korean.lua | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 lua/plugins/korean.lua diff --git a/lazy-lock.json b/lazy-lock.json index 5e72a1a..2a1808e 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -1,4 +1,5 @@ { + "Korean-IME.nvim": { "branch": "master", "commit": "c733599b9219e25bb05d8aa0467327edc769be94" }, "blink.cmp": { "branch": "main", "commit": "bae4bae0eedd1fa55f34b685862e94a222d5c6f8" }, "blink.download": { "branch": "main", "commit": "86361b98f3c8317904a08e3bd12cf3cdcbe3e925" }, "blink.nvim": { "branch": "main", "commit": "16a597e89cf2ee6215a392c5bc5a945477015534" }, diff --git a/lua/plugins/korean.lua b/lua/plugins/korean.lua new file mode 100644 index 0000000..08759ca --- /dev/null +++ b/lua/plugins/korean.lua @@ -0,0 +1,21 @@ +return { + "kiyoon/Korean-IME.nvim", + keys = { + -- lazy load on 한영전환 + { + "", + function() + require("korean_ime").change_mode() + end, + mode = { "i", "n", "x", "s" }, + desc = "한/영", + }, + }, + config = function() + require("korean_ime").setup() + + vim.keymap.set("i", "", function() + require("korean_ime").convert_hanja() + end, { noremap = true, silent = true, desc = "한자" }) + end, +}