Closed thatnerdjosh closed 6 years ago
@nashamri would this be something there would be interest in merging upstream if built?
@NerdsvilleCEO Yeah of course, sorry I didn't have the time to work on the theme lately. Hopefully, soon I'll get enough time. I'm always open for PRs.
@NerdsvilleCEO I just added a new them var spacemacs-theme-keyword-italic
that toggles this. It's off by default. So make sure to toggle it on to try it out.
Thanks for this :smile: let me know if you see something wrong.
Dang it lol I literally was going to do this today! Beat me to it, but I'm not going to complain :) trying it now!! :))
lol better luck next time :smile:
Hey @nashamri I am having trouble getting this to work in code buffers, keywords don't seem change to italics
@NerdsvilleCEO Can you show me a screenshot, please?
comment italics don't work for me either, but if I set font to italic face the chars show as italic
Hm I noticed something odd, it's as if the comments and keywords aren't italic if I set the font face to italic
Hmm, can you put the cursor on one of the keywords and press SPC h d c
and show me that newly opened buffer?
I think there must be some mismatch between the variables and the value causing it to always default to false and choose normal slant, must be the naming or something
hmm it's working fine on my end. Recorded a little gif of that.
Looks like if I reload the theme it works, is there a way to reload automatically on startup so it registers the config?
Yeah, just add (setq spacemacs-theme-keyword-italic t)
to your dotspacemacs/user-init
in your .spacemacs
.
Alright, thank you so much! 👍
You are welcomed :smile:
If you are using the customize
interface to change options, just make sure you save the canges for future sessions. This video might be helpful:
https://www.youtube.com/watch?v=mMcc0IF1hV0
Cheers!
Would it be feasible to add italics option for keywords to support fonts like Dank mono?
I was thinking I could build this out and go off of the changes here https://github.com/nashamri/spacemacs-theme/issues/82