Doesn't appear to be compatible with terminal-only editors
Closed this issue · 12 comments
I've tried to use a vim theme created with ThemeCreator in my terminal, but since only guifg
/guibg
properties are specified in themes output, the theme has no effect.
Color hex codes can be converted to xterm-256 colors pretty easily. I found this Python package to do it.
Let me know if I can help with this.
Which terminal are you using ?
iTerm2. (I also tested with the standard macOS Terminal.app
.)
Do other terminals support GUI colors? I admittedly don't know.
Do you have the line
set termguicolors
set in your .vimrc
?
I
Ah, adding that does fix it! Thank you!
Still, don't you think ThemeCreator should provide 256color codes by default? Again this is not my area of expertise so feel free to close this if that doesn't seem useful.
I don't think it's important anymore, because all mainstream (and most non mainstream) terminals now support true colours.
Okay, that's fair. Thanks for your help!
No worries.
Sorry to revive this issue again; do you think it might be reasonable to automatically execute set termguicolors
in generated themes?
No, that would mean overriding a users config, and I don't want to do that.
I'll add an entry to the README though.
Makes sense!