feat(nvim): import new lazyvim extras into my existing extras

This commit is contained in:
Sergio Laín 2024-06-15 15:29:36 +02:00
parent d228d5eae3
commit 1edf458eab
No known key found for this signature in database
GPG key ID: FB00AF7015FFE76B
2 changed files with 4 additions and 18 deletions

View file

@ -1,12 +1,10 @@
return {
{ import = "lazyvim.plugins.extras.coding.neogen" },
{
"danymat/neogen",
opts = {
snippet_engine = "luasnip",
enabled = true,
},
-- stylua: ignore
keys = {
{ "<leader>a", "", desc = " annotation/snippets" },
{ "<leader>ad", function() require("neogen").generate() end, desc = "Default Annotation" },
{ "<leader>aC", function() require("neogen").generate({ type = "class" }) end, desc = "Class" },
{ "<leader>af", function() require("neogen").generate({ type = "func" }) end, desc = "Function" },
@ -14,14 +12,6 @@ return {
{ "<leader>aF", function() require("neogen").generate({ type = "file" }) end, desc = "File" },
},
},
{
"folke/which-key.nvim",
opts = {
defaults = {
["<leader>a"] = { name = " annotation/snippets" },
},
},
},
{
"Zeioth/dooku.nvim",
cmd = { "DookuGenerate", "DookuOpen", "DookuAutoSetup" },

View file

@ -1,6 +1,8 @@
local prefix = "<leader>G"
return {
{ import = "lazyvim.plugins.extras.util.octo" },
{ import = "plugins.extras.lang.git-extended" },
{
"williamboman/mason.nvim",
opts = function(_, opts)
@ -54,12 +56,6 @@ return {
},
{
"pwntester/octo.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-telescope/telescope.nvim",
"nvim-tree/nvim-web-devicons",
},
cmd = { "Octo" },
opts = {
use_diagnostic_signs = true,
mappings = {},