In the absence of a more elegant fix, I disabled ALE for markdown files as explained in ALE issue 371, by adding this to my ~/.vimrc: " Disable ale for some file extensions let g:ale_pattern_options = { \ '.*\.md$': {'ale_enabled': 0}, \ '.*\.Rmd$': {'ale_enabled': 0}, \}


Your 'formatoptions' include q, it allow gq to format comments. Your 'comments' include b:* (b is format rule,* is literal pattern), your line starts with a space and *, vim see it as as comment. vim use b rule of format-comments to format it: b Blank (<Space>, <Tab> or <EOL>) required after {string}. That's why all your lines are ...

Only top voted, non community-wiki answers of a minimum length are eligible