From 308a455cbc6e1ecf5478594b08cb2a0d5ff813c6 Mon Sep 17 00:00:00 2001 From: Kiril Date: Mon, 20 May 2024 01:24:08 +0100 Subject: [PATCH] Add comment plugins Add Comment.nvim for commenting out code more easily, and todo-comments.nvim for highlighting on TODO-type code comments. --- lua/plugins/comments.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 lua/plugins/comments.lua diff --git a/lua/plugins/comments.lua b/lua/plugins/comments.lua new file mode 100644 index 0000000..0b903ef --- /dev/null +++ b/lua/plugins/comments.lua @@ -0,0 +1,15 @@ +return { + -- add this to your lua/plugins.lua, lua/plugins/init.lua, or the file you keep your other plugins: + { + "numToStr/Comment.nvim", + opts = { + -- add any options here + }, + lazy = false, + }, + { + "folke/todo-comments.nvim", + dependencies = { "nvim-lua/plenary.nvim" }, + opts = {}, + }, +}