Closed 11111000000 closed 4 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)
mixed-pitch-mode
variable-pitch-mode
now, when variable-pitch-mode turned on, all text in right buffler are variable pitched, but I want for only comments are.
What about using face-remap-add-relative to make the comment face inherit from variable-pitch in the current buffer?
face-remap-add-relative
how to achieve fixed pitch for code, but variable pitch for comments? (in
mixed-pitch-mode
orvariable-pitch-mode
, like I do for org-mode (left)now, when
variable-pitch-mode
turned on, all text in right buffler are variable pitched, but I want for only comments are.