A very simple neovim plugin for generating headers, according to the template
/*
** EPITECH PROJECT, $YEAR
** $NAME_OF_THE_PROJECT
** File description:
** No file there, just an epitech header example.
** You can even have multiple lines if you want!
*/
lazy.nvim
{
"ProudFaceOfSUiR/epitech.nvim",
lazy = false,
config = function ()
require("epitech-header")
end
}
First available command for you is :InsertHeader
. It will ask you to type the name and description of your project and then inject the header in the beginning of your file. You can also set a keymap for it:
vim.keymap.set("n", "<leader>ih", ":InsertHeader<CR>")
The over command is :CreateTest
. It will create a file in directory tests
called test_<filename>
add import of criterion headers and generate epitech template header.
- add ability to create Makefile headers
- may be something else, not sure