Skip to content

g:markdown_folding is applied on yaml header #218

Description

@avidseeker

Problem

Yaml header is folded when "let g:markdown_folding = 1".

---
## title: MWE [4 lines]······························································

Steps to reproduce

Step 1: mwe.md

---
title: MWE
---

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod

Step 2

nvim -u <(echo "let g:markdown_folding = 1") mwe.md

Expected behavior

Screen rendered as

---
title: MWE
---

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod

moved from: neovim/neovim#31203

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions