alphapapa / outshine

Org-mode for non-Org buffers
GNU General Public License v2.0
212 stars 23 forks source link

fixed pitch for code, but variable pitch for comments? #62

Closed 11111000000 closed 4 years ago

11111000000 commented 5 years ago

how to achieve fixed pitch for code, but variable pitch for comments? (in mixed-pitch-mode or variable-pitch-mode, like I do for org-mode (left)

2019-04-12-002752_1366x768_scrot

now, when variable-pitch-mode turned on, all text in right buffler are variable pitched, but I want for only comments are.

thblt commented 5 years ago

What about using face-remap-add-relative to make the comment face inherit from variable-pitch in the current buffer?