From f7bbc5e6740f6199d7ed0fe704daaa7efd98c093 Mon Sep 17 00:00:00 2001 From: Tom Li Dobnik Date: Tue, 3 Mar 2026 18:46:16 +0100 Subject: nvim update --- .config/nvim-old/lua/config/plugins/leetcode.lua | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .config/nvim-old/lua/config/plugins/leetcode.lua (limited to '.config/nvim-old/lua/config/plugins/leetcode.lua') diff --git a/.config/nvim-old/lua/config/plugins/leetcode.lua b/.config/nvim-old/lua/config/plugins/leetcode.lua new file mode 100644 index 0000000..920aba9 --- /dev/null +++ b/.config/nvim-old/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, + }, +} -- cgit v1.2.3