gaoDean / autolist.nvim

Automatic list continuation and formatting for neovim, powered by lua
MIT License
248 stars 6 forks source link

Respect list style of hierarchy #83

Open Uroc327 opened 11 months ago

Uroc327 commented 11 months ago

When changing the hierarchy with tab between numbered and unnumbered lists, the style only seems to be adapted in one direction:

1. test
2. test
3. test
    - a
    - b <Cursor>
    - c
4. test

Upon <S-Tab>, the line correctly changes to 4. b. But using <Tab> then doesn' change it back yielding

1. test
2. test
3. test
    - a
    4. b <Cursor>
    - c
4. test
mcauley-penney commented 10 months ago

Using the default configuration and the plugin as it is on main at the time of this comment, this is how it behaves for me. This seems to be the behavior that you're after.

autolist_83

Can you provide more information?