Daniel Mathiot f42e14f633 Add documentation
Added docs in multiple places, refactored some functions and changed
places.
2021-08-21 07:31:57 +02:00
2021-08-18 17:03:18 +02:00
2021-08-21 07:31:57 +02:00
2021-08-18 17:03:18 +02:00
2021-08-15 22:03:20 +02:00
2021-08-18 17:03:18 +02:00
2021-08-19 16:43:35 +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%