gaoDean / autolist.nvim

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

fix: don't modify text if not currently in a list #45

Closed gaoDean closed 1 year ago

gaoDean commented 1 year ago

for autolist.new, don't setline if nothing is changed. (kinda obvious, but whatever. I might have had a reason for this in the past, but i can't remember what it is, and this fixes #43, so imma do it.)