Public Access
delete unused plugin
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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,
|
||||
})
|
||||
Reference in New Issue
Block a user