Closed rafaelrinaldi closed 7 years ago
Thank you @rafaelrinaldi 😄 Yeah I think this is a good idea and can be easily implemented. Will do!
@nashamri I can give it a shot if you would like. I already have it working as a custom configuration.
Yeah sure, shoot me a pull request and we'll take it from there 👍
yeah, itallics for comments work well. I did this with my personal fork of spacemacs theme.
Yes @ninrod, the change is pretty simple. Additonally, I would prefer to have a variable to control this and make it off by default. So something like this:
(defcustom spacemacs-theme-comment-italic nil
"Make the comment lines italic."
:type 'boolean
:group 'spacemacs-theme)
And then something like this:
`(font-lock-comment-face ((,class (
:slant (when spacemacs-theme-comment-italic italic)
:foreground ,comment
:background ,(when spacemacs-theme-comment-bg comment-bg)))))
I did not test this, so if @rafaelrinaldi can try that and send a PR, that would be great 😄
very new to spacemacs. can you tell me where to put this option to enable italics in comments ?
@harveyslash You can press ⌘+,. You'll get to the settings panel, then you just search for spacemacs-theme-comment-italic
on the search field.
I am still unsure how to make the comments italic. I have placed @nashamri code in my init file but does nothing - I have also tried @rafaelrinaldi suggestion and cannot find spacemacs-theme-comment-italic in the settings page when searching.
It looks like this got removed from the theme options?
First of all thanks for the theme, I like it a lot.
One thing I miss a lot is comments in italics. I noticed you already have an option to toggle the background color for them and was wondering if there's interest on implementing an option to toggle italics too?