vim-markdown icon indicating copy to clipboard operation
vim-markdown copied to clipboard

Add space in header regex

Open lggruspe opened this issue 1 year ago • 3 comments

Fixes #597

Also adds some tests for HeaderDecrease and HeaderIncrease.

lggruspe avatar Sep 16 '22 10:09 lggruspe

We could add an option to toggle this behavior. Maybe g:vim_markdown_hashtags or g:vim_markdown_space_in_atx_header will do?

What do you think, @tomtomjhj?

lggruspe avatar Sep 17 '22 12:09 lggruspe

See comment in https://github.com/preservim/vim-markdown/pull/604#issuecomment-1263148391 that covers why we don't know whether this should be merged directly or not. The discussion about what Markdown flavor we are even targeting needs to be resolved first.

alerque avatar Nov 24 '22 10:11 alerque

Also just for the record these two PRs are not duplicates, one addresses the syntax rules and one addresses the header level handling rules. Both should be merged, modified, or rejected in the same way.

alerque avatar Nov 24 '22 10:11 alerque