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
Post a Comment