clean-up
This commit is contained in:
@@ -14,7 +14,7 @@ vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
local lazy = require("lazy")
|
||||
lazy.setup("409.plugins", {
|
||||
ui = {
|
||||
border = "single"
|
||||
}
|
||||
ui = {
|
||||
border = "single",
|
||||
},
|
||||
})
|
||||
|
||||
@@ -1,66 +1,62 @@
|
||||
return {
|
||||
{
|
||||
"numToStr/Comment.nvim",
|
||||
event = "VeryLazy",
|
||||
config = function()
|
||||
require("Comment").setup()
|
||||
end
|
||||
},
|
||||
{
|
||||
"danymat/neogen",
|
||||
event = "VeryLazy",
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter" },
|
||||
opts = {
|
||||
enabled = true,
|
||||
input_after_comment = true,
|
||||
languages = {
|
||||
cs = {
|
||||
template = {
|
||||
annotation_convention = "xmldoc"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
"<leader>nf",
|
||||
":Neogen func<CR>",
|
||||
desc = "Document function"
|
||||
},
|
||||
{
|
||||
"<leader>nt",
|
||||
":Neogen type<CR>",
|
||||
desc = "Document type"
|
||||
},
|
||||
{
|
||||
"<leader>nc",
|
||||
":Neogen class<CR>",
|
||||
desc = "Document class"
|
||||
},
|
||||
{
|
||||
"<C-k>",
|
||||
function()
|
||||
require("neogen").jump_next()
|
||||
end,
|
||||
mode = "i",
|
||||
desc = "Next documentation field"
|
||||
},
|
||||
{
|
||||
"<C-j>",
|
||||
function()
|
||||
require("neogen").jump_prev()
|
||||
end,
|
||||
mode = "i",
|
||||
desc = "Previous documentation field"
|
||||
},
|
||||
}
|
||||
},
|
||||
{
|
||||
"folke/todo-comments.nvim",
|
||||
event = "VeryLazy",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
config = function ()
|
||||
require("todo-comments").setup()
|
||||
end
|
||||
},
|
||||
{
|
||||
"numToStr/Comment.nvim",
|
||||
event = "VeryLazy",
|
||||
config = true,
|
||||
},
|
||||
{
|
||||
"danymat/neogen",
|
||||
event = "VeryLazy",
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter" },
|
||||
opts = {
|
||||
enabled = true,
|
||||
input_after_comment = true,
|
||||
languages = {
|
||||
cs = {
|
||||
template = {
|
||||
annotation_convention = "xmldoc",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
"<leader>nf",
|
||||
":Neogen func<CR>",
|
||||
desc = "Document function",
|
||||
},
|
||||
{
|
||||
"<leader>nt",
|
||||
":Neogen type<CR>",
|
||||
desc = "Document type",
|
||||
},
|
||||
{
|
||||
"<leader>nc",
|
||||
":Neogen class<CR>",
|
||||
desc = "Document class",
|
||||
},
|
||||
{
|
||||
"<C-k>",
|
||||
function()
|
||||
require("neogen").jump_next()
|
||||
end,
|
||||
mode = "i",
|
||||
desc = "Next documentation field",
|
||||
},
|
||||
{
|
||||
"<C-j>",
|
||||
function()
|
||||
require("neogen").jump_prev()
|
||||
end,
|
||||
mode = "i",
|
||||
desc = "Previous documentation field",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"folke/todo-comments.nvim",
|
||||
event = "VeryLazy",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
config = true,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ return {
|
||||
end,
|
||||
config = function(plugin, opts)
|
||||
local conform = require("conform")
|
||||
conform.setup(opts)
|
||||
conform.setup(opts)
|
||||
|
||||
conform.formatters.clang_format = {
|
||||
args = { "--style", "{IndentWidth: 4, UseTab: Always, TabWidth: 4}" },
|
||||
|
||||
@@ -13,8 +13,6 @@ return {
|
||||
{
|
||||
"echasnovski/mini.diff",
|
||||
version = false,
|
||||
config = function()
|
||||
require("mini.diff").setup()
|
||||
end,
|
||||
config = true
|
||||
},
|
||||
}
|
||||
|
||||
@@ -99,8 +99,6 @@ return {
|
||||
"SmiteshP/nvim-navic",
|
||||
"nvim-tree/nvim-web-devicons", -- optional dependency
|
||||
},
|
||||
config = function()
|
||||
require("barbecue").setup()
|
||||
end,
|
||||
config = true
|
||||
},
|
||||
}
|
||||
|
||||
@@ -24,8 +24,6 @@ return {
|
||||
{
|
||||
"echasnovski/mini.surround",
|
||||
version = "*",
|
||||
config = function()
|
||||
require("mini.surround").setup()
|
||||
end
|
||||
config = true
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user