nvim-treesitter / nvim-tree-docs

Code documentation built with treesitter
223 stars 10 forks source link

Aniseed updates and usage improvements #12

Closed Olical closed 2 years ago

Olical commented 3 years ago

Hi there! I noticed there were a couple of open issues around requiring Aniseed installed as a top level plugin for this plugin to work. That's not intended since Aniseed bundles itself in your Lua output, so you can use the exact version of Aniseed you compiled with at runtime. This PR addresses the following:

I've tried this out myself and it still generated documentation in a .js file for me, so I think everything's okay? This should fix #9 and #3 which are the same issue as well as potentially speed up loading of the plugin, or at least defer processing until it's invoked by the user.

I hope this is useful, let me know if you have any questions or would like anything addressed!

Mte90 commented 3 years ago

any updates for this?

Olical commented 3 years ago

The PR hasn't existed for very long at all, please give the maintainers much more time to respond. In the mean time I recommend using my fork if you need this update then switching back if it's eventually merged.

https://github.com/Olical/nvim-tree-docs

vigoux commented 3 years ago

I'll let @steelsojka review this one as I am not really into fennel and sure about how this plugin works.

steelsojka commented 2 years ago

Sorry... been extremely busy. This looks good to me 👍

Olical commented 2 years ago

Nice! Thanks 😄 also if you update Aniseed and recompile your Lua will shrink dramatically. I rewrote and improved a LOT of the underlying module system a while back and I think before I opened this PR.

Not essential, but just a heads up!