Vim: What's the best way to have markdown automatically enabled for comments? -



Vim: What's the best way to have markdown automatically enabled for comments? -

i able format comments in code somewhat:

# **todo** # # *don't forget*

i want markdown syntax highlighted bit in comments, add together cterm=bold \*\*(.*)\*\* or something.

is there way in vim?

to properly, you'd have :syntax include markdown syntax each individual syntax (that has comments you're interested in), , have containedin= corresponding syntax grouping comments. that's doable, requires effort (depending on how many , syntaxes modify).

it's quicker utilize plugin syntaxrange plugin alter syntax of comment blocks markdown (manually, , on demand). corresponding mapping, can set quite (but it's not automatic first alternative).

vim markdown

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -