first commit

config imported from personal dotfiles aleee-idk/dots
This commit is contained in:
Alexander Navarro 2024-08-05 14:51:17 -04:00
commit d3a88cbb28
85 changed files with 5236 additions and 0 deletions

View file

@ -0,0 +1,34 @@
return {
{
"echasnovski/mini.comment",
version = "*",
event = "VeryLazy",
dependencies = {
{ "nvim-treesitter/nvim-treesitter-context" },
},
opts = {
options = {
custom_commentstring = function()
return require("ts_context_commentstring.internal").calculate_commentstring()
or vim.bo.commentstring
end,
},
},
},
{
"LudoPinelli/comment-box.nvim",
event = "VeryLazy",
config = function()
require("comment-box").setup({
outer_blank_lines = true,
})
local cb = require("comment-box")
-- left aligned fixed size box with left aligned text
MAP({ "n", "v" }, "gcb", cb.lcbox, "Create a comment box")
-- centered adapted box with centered text
MAP({ "n", "v" }, "gll", cb.cline, "Create a comment line")
end,
},
}