Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting vim_markdown_folding_level has no effect #592

Open
paulkre opened this issue Jul 16, 2022 · 3 comments
Open

Setting vim_markdown_folding_level has no effect #592

paulkre opened this issue Jul 16, 2022 · 3 comments

Comments

@paulkre
Copy link

paulkre commented Jul 16, 2022

Maybe I'm doing something wrong but if I add

let g:vim_markdown_folding_level = 2

to my .vimrc, it has no effect. The plugin will still fold every single section no matter which level its headline has.

@alerque
Copy link
Member

alerque commented Jul 16, 2022

How confident are you some other plugin or setting isn't enabling more folding?

@paulkre
Copy link
Author

paulkre commented Jul 16, 2022

I have just disabled all other plugins and the problem still exists. So just to clarify, using default configuration the content

# Headline 1

Level 1 content.

## Headline 2

Level 2 content.

is displayed as

# Headline 1
+--  3 lines: Level 1 content.--------
## Headline 2
+--  3 lines: Level 2 content.--------

but it should be

# Headline 1

Level 1 content.

## Headline 2
+--  3 lines: Level 2 content.--------

right?

@alerque
Copy link
Member

alerque commented Jul 16, 2022

The results you expect are what I get over here in Neovim...

Can you dump the output of :set and :version here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants