masukomi / masukomi/vim-markdown-folding

add support for lists

Open
#33 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
Vim Script
Stars
257
Forks
44
PR merge metrics
No merged PRs in 30d

Description

[this commit](https://github.com/lucponnau/vim-markdown-folding/commit/f3c711b920e626cdc0fdb3356efb7140fb8d3dfa) by [@lucponnau](https://github.com/lucponnau) shows a possible solution for supporting bullet lists but doesn't account for the fact that you can also make a bullet list with `-` (not just `*`) or that you can nest lists. Then there's the handling of `.` lists (e.g. `1.`)

We should
* be able to fold lists of all types
* be able to fold nested lists separately from their parents.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked commit and the existing list-folding implementation in the repository. Check how bullet markers, numbered lists, and nested lists are recognized, then verify that every list type folds and nested lists can fold separately from their parents.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown, vim
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.