kevinhwang91 / nvim-ufo

Not UFO in the sky, but an ultra fold in Neovim.
BSD 3-Clause "New" or "Revised" License
2.23k stars 44 forks source link

Remark the folded line and export the data #37

Open kevinhwang91 opened 2 years ago

kevinhwang91 commented 2 years ago

Feature description

A folded line actually carry an extmark, we can remap i and a to insert new text to add 'notes' when reviewing the code. And export the extmarks based on foldlevel to make us understand the meaning of the code we remarked forever unless the file is changed.

I like this feature because I am lazy to make notes but I like reading the fucking source code.

Describe the solution you'd like

Support undo/redo first, and make the extmark more stable when we are making notes.

Additional context

No response