From ac6b9739a538287f84f8e29563cd2edaa0395c42 Mon Sep 17 00:00:00 2001 From: Roman Date: Fri, 3 Jul 2026 14:08:13 +0200 Subject: [PATCH] delete unused plugin --- nvim/.config/nvim/lua/romanzy/plugins.lua | 1 - .../nvim/lua/romanzy/plugins/header42.lua | 27 ------------------- nvim/.config/nvim/nvim-pack-lock.json | 4 --- 3 files changed, 32 deletions(-) delete mode 100644 nvim/.config/nvim/lua/romanzy/plugins/header42.lua diff --git a/nvim/.config/nvim/lua/romanzy/plugins.lua b/nvim/.config/nvim/lua/romanzy/plugins.lua index 9fe954d..4f3cf59 100644 --- a/nvim/.config/nvim/lua/romanzy/plugins.lua +++ b/nvim/.config/nvim/lua/romanzy/plugins.lua @@ -7,7 +7,6 @@ require("romanzy.plugins.telescope") require("romanzy.plugins.nvim-treesitter") require("romanzy.plugins.conform") require("romanzy.plugins.lsp") --- require("romanzy.plugins.header42") require("romanzy.plugins.codamheader") -- custom "plugins" diff --git a/nvim/.config/nvim/lua/romanzy/plugins/header42.lua b/nvim/.config/nvim/lua/romanzy/plugins/header42.lua deleted file mode 100644 index 0818c04..0000000 --- a/nvim/.config/nvim/lua/romanzy/plugins/header42.lua +++ /dev/null @@ -1,27 +0,0 @@ -vim.pack.add({ - { src = "https://codeberg.org/42nerds/header42.nvim" }, -}) - -local function load_header42() - -- Prevent double loading - if _G.header42_loaded then return end - _G.header42_loaded = true - - -- Configure the plugin - require("header42").setup({ - -- autocmd = { create = false }, - username = "rvolovoy", - email = "rvolovoy@student.codam.nl", - }) -end - --- load it right away --- load_header42(); - -vim.api.nvim_create_autocmd("FileType", { - pattern = { "c", "cpp", "python" }, - once = true, - callback = function() - load_header42() - end, -}) diff --git a/nvim/.config/nvim/nvim-pack-lock.json b/nvim/.config/nvim/nvim-pack-lock.json index 88e0562..7f747ee 100644 --- a/nvim/.config/nvim/nvim-pack-lock.json +++ b/nvim/.config/nvim/nvim-pack-lock.json @@ -16,10 +16,6 @@ "rev": "619363c30309d29ffa631e67c8183f2a72caa373", "src": "https://github.com/stevearc/conform.nvim" }, - "header42.nvim": { - "rev": "d41468df1c53081c909fc78248cf233893b59809", - "src": "https://codeberg.org/42nerds/header42.nvim" - }, "lazygit.nvim": { "rev": "a04ad0dbc725134edbee3a5eea29290976695357", "src": "https://github.com/kdheepak/lazygit.nvim"