Minimal automatic list continuing for ordered and unordered lists for nvim in lua
(cant be bothered to search for the link, this was in my clipboard so yeah)
supports:
- tabs
- autodeletes empty list bullets
- indented lists with and
doesn't support:
- renumbering of lists
If your lua config is organised, you should have a file for options, for mappings etc. Put the top function in some function file, and put everything below the "all of the above" comment into a mappings and autocommands file. You don't have to 'require' the file with the functions in the init, just "require('func').autolist()".
Made a plugin for this, here it is: https://www.reddit.com/r/neovim/comments/wpoq51/autolistnvim_lua_powered_list_continuation_plugin/?utm_source=share&utm_medium=web2x&context=3
(cant be bothered to search for the link, this was in my clipboard so yeah)