From c1315e0d1624f3f135fbc209d80e093f5172db0e Mon Sep 17 00:00:00 2001 From: Wil Simpson Date: Mon, 17 Jun 2024 18:18:53 -0400 Subject: [PATCH] Added leetcode --- lua/custom/plugins/leetcode.lua | 3 +++ lua/custom/plugins/surround.lua | 20 +++++++++++++++----- 2 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 lua/custom/plugins/leetcode.lua diff --git a/lua/custom/plugins/leetcode.lua b/lua/custom/plugins/leetcode.lua new file mode 100644 index 00000000..fe5311ba --- /dev/null +++ b/lua/custom/plugins/leetcode.lua @@ -0,0 +1,3 @@ +return { + 'jiangmiao/auto-pairs' +} diff --git a/lua/custom/plugins/surround.lua b/lua/custom/plugins/surround.lua index f1ba9a6b..5d8529f8 100644 --- a/lua/custom/plugins/surround.lua +++ b/lua/custom/plugins/surround.lua @@ -1,7 +1,17 @@ return { - "kylechui/nvim-surround", - version = "*", - config = function () - require("nvim-surround").setup() - end + "kawre/leetcode.nvim", + build = ":TSUpdate html", + dependencies = { + "nvim-telescope/telescope.nvim", + "nvim-lua/plenary.nvim", -- required by telescope + "MunifTanjim/nui.nvim", + + -- optional + "nvim-treesitter/nvim-treesitter", + "rcarriga/nvim-notify", + "nvim-tree/nvim-web-devicons", + }, + opts = { + -- configuration goes here + }, }