Feel-ix-343 / markdown-oxide

PKM for the LSP
https://oxide.md
Apache License 2.0
1.03k stars 17 forks source link

Lists do not fold as expected. #184

Closed Cerefina closed 1 month ago

Cerefina commented 1 month ago

When folding a list, one would expect it to fold in the following manner:

- parent a
    - child
    - ...
- parent b
    - child
    - ...

// Becomes...
- parent a ...
- parent b ...

But how it's currently folding is as follows:

- parent a ...
// parent b is eaten by parent a

This makes it difficult to zoom in/zoom out of different contexts in the list.

Feel-ix-343 commented 1 month ago

Ah this is definitely annoying. You may be able to fix this by refreshing treesitter through a :e

Unfortunately, oxide is unrelated to folding in Neovim, and it generally leaves ui things like this to the dedicated editor.

Hope you figure it out!