Skip to content

ProudFaceOfSUiR/epitech.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

EPITECH.nvim

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! 
*/

Installation:

lazy.nvim

{
    "ProudFaceOfSUiR/epitech.nvim",
    lazy = false,
    config = function ()
        require("epitech-header")
    end
}

Usage:

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.

TODO:

  • add ability to create Makefile headers
  • may be something else, not sure

About

Generates header according to the EPITECH template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages