diff options
| author | Tom Li Dobnik <tomlidobnik1@gmail.com> | 2026-02-23 07:44:54 +0100 |
|---|---|---|
| committer | Tom Li Dobnik <tomlidobnik1@gmail.com> | 2026-02-23 07:44:54 +0100 |
| commit | 4cf642a4e17473e71849444e2f6d6d8ce245bb96 (patch) | |
| tree | 72d04f5e6d1da6756dc5793a1d03ade90a2290dd /.config/nvim/lua/config/plugins/leetcode.lua | |
| parent | 95bb1945715c94b033e5e8e4f633f791a68c6c9e (diff) | |
update
Diffstat (limited to '.config/nvim/lua/config/plugins/leetcode.lua')
| -rw-r--r-- | .config/nvim/lua/config/plugins/leetcode.lua | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.config/nvim/lua/config/plugins/leetcode.lua b/.config/nvim/lua/config/plugins/leetcode.lua new file mode 100644 index 0000000..920aba9 --- /dev/null +++ b/.config/nvim/lua/config/plugins/leetcode.lua @@ -0,0 +1,22 @@ +return { + "kawre/leetcode.nvim", + build = function() + if vim.fn.exists(":TSUpdate") == 2 then + vim.cmd("TSUpdate html") + end + end, + dependencies = { + -- include a picker of your choice, see picker section for more details + "nvim-lua/plenary.nvim", + "MunifTanjim/nui.nvim", + }, + opts = { + -- configuration goes here + lang = "rust", + storage = { + home = vim.fn.expand("~/leetcode"), + cache = vim.fn.stdpath("cache") .. "/leetcode", + }, + image_support = false, + }, +} |
