vhyrro / neogen

A better annotation generator for Neovim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A better annotation generator for Neovim

License:GNU General Public License v3.0


Languages

Language:Lua 100.0%