From fe2ab212861b711153277ae4b778f8b79cf41320 Mon Sep 17 00:00:00 2001 From: Dinesh Salunke Date: Fri, 16 Jun 2023 02:00:40 +0530 Subject: [PATCH] chore: add pairs and comment plugin --- lua/plugins/coding.lua | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lua/plugins/coding.lua diff --git a/lua/plugins/coding.lua b/lua/plugins/coding.lua new file mode 100644 index 0000000..fe036b0 --- /dev/null +++ b/lua/plugins/coding.lua @@ -0,0 +1,20 @@ +return { + { + "echasnovski/mini.pairs", + event = "VeryLazy", + opts = {} + }, + + { + "echasnovski/mini.comment", + event = "VeryLazy", + opts = { + options = { + custom_commentstring = function() + return require("ts_context_commentstring.internal").calculate_commentstring() or vim.bo.commentstring + end, + }, + }, + }, +} +