From 1038d2008b90788205bf36d119c64acbac7c4663 Mon Sep 17 00:00:00 2001 From: Charles Danesi Date: Fri, 29 Nov 2024 17:15:32 -0500 Subject: [PATCH] refactor: move keymaps to main keymaps file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🔧add config options --- .config/nvim/lua/plugins/comment-box.lua | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.config/nvim/lua/plugins/comment-box.lua b/.config/nvim/lua/plugins/comment-box.lua index 0c55bcf..d4c26e2 100644 --- a/.config/nvim/lua/plugins/comment-box.lua +++ b/.config/nvim/lua/plugins/comment-box.lua @@ -1,8 +1,12 @@ return { - 'LudoPinelli/comment-box.nvim', - event = { 'BufReadPre', 'BufNewFile' }, - keys = { - { 'Cb', 'CBllbox19', desc = 'Insert a default comment box' }, - { 'Cl', 'CBccline6', desc = 'Insert a default comment line' }, - }, + 'LudoPinelli/comment-box.nvim', + event = { 'BufReadPre', 'BufNewFile', 'VeryLazy' }, + opts = { + doc_width = 80, + box_width = 60, + line_width = 70, + outer_blank_lines_above = true, + outer_blank_lines_below = true, + inner_blank_lines = true, + }, }