2021-08-17 18:42:41 +02:00
2021-08-15 22:03:20 +02:00
2021-08-17 18:09:17 +02:00

neogen

A better Neovim documentation generator

Warning

This project is still in alpha !

Work In progress:

  • lua: @return, @param

Installation

  1. Packer
use { 
    "danymat/neogen", 
    config = function()
        require('neogen').setup {
            enabled = true
        }
    end
}

Usage

I exposed a command :Neogen to generate the annotations. You can bind it to your keybind of choice:

vim.api.nvim_set_keymap("n", "<Leader>ng", ":Neogen<CR>", {})

If you are inside a function, it'll generate the documentation for you with Emmylua annotation convention

Description
A better annotation generator. Supports multiple languages and annotation conventions.
Readme GPL-3.0 5.8 MiB
Languages
Lua 99.2%
Shell 0.4%
Vim Script 0.2%
Makefile 0.2%