masukomi / vim-markdown-folding

Fold markdown documents by section.
248 stars 43 forks source link

folded areas should not print #23

Closed jm3 closed 5 years ago

jm3 commented 8 years ago

When printing from vim (i know, i know, nobody prints, BUT), when there are regions folded and hence hidden, it's unexpected that printing the file should show the folded regions to unfold and appear again.

Any suggestions on how to tackle this in a PR?

masukomi commented 5 years ago

Are you trying to print from a GUI client @jm3 ? I think a terminal emulator wouldn't have a clue about what's going on in vim's brain when it goes to print.

MacVim seems to unfold everything for the printed form regardless of filetype. I think the right answer here is to speak with the maintainer of whatever GUI wrapper you use.

masukomi commented 5 years ago

Closing this under the assumption that i'm not wrong about this being an issue with the GUI wrapper. Please reopen if I'm wrong.