feat: Vim Docs
I didn't actually do too much to make this work well, but just showing how it could be possible to generate builtin vim docs from the lua code.
There are some things that we don't yet support in https://github.com/tjdevries/tree-sitter-lua, but could be interesting to explore later.
Anyway, just thought I'd shoot this your way.
Wow!!! It's really cool way. I have to look into it!
We are working on a docker image to make it easy to run. I will let you know when we finish.
As this PR seems stale, I cannot recommend enough mini.doc module: https://github.com/echasnovski/mini.nvim#minidoc
I use it to automatically generate vim help file from Lua comments in Neogen plugin, you can check out the GitHub action here:
- https://github.com/danymat/neogen/blob/main/.github/workflows/docgen.yml
- And the automatic generated doc here: https://github.com/danymat/neogen/blob/main/doc/neogen.txt