an example to auto add list item
buds-2024-03-23_21.07.08.mp4
- trigger intentionally
- no nvim_buf_attach, which leads to an unstable fragile impl
- not support multi-line list item
- just works
- yet may conflict with other plugins
- nvim 0.10.*
- haolian9/infra.nvim
my personal config:
bm.i("<s-cr>", function() require("buds")() end)
新年都未有芳华,二月初惊见草芽。
白雪却嫌春色晚,故穿庭树作飞花。
红豆生南国,春来发几枝。
愿君多采撷,此物最相思。