Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] yet another vim+urxvt colorscheme issue
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
potuz
Guru
Guru


Joined: 30 Jan 2010
Posts: 378

PostPosted: Tue Sep 18, 2018 10:36 am    Post subject: [SOLVED] yet another vim+urxvt colorscheme issue Reply with quote

Edit: Marking this as solved, but leaving this in case it may be useful to someone. The gui works with 24bit colorschemes so it was simply an issue of setting termguicolors and adjust guifg and guibg accordingly.

Im running
Code:

[ebuild   R    ] app-editors/vim-8.1.0034::gentoo  USE="X acl cscope nls python -debug -gpm -lua -luajit -minimal -perl -racket -ruby (-selinux) -tcl -terminal -vim-pager" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_4 -python3_5" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5" 0 KiB
[ebuild   R    ] x11-terms/rxvt-unicode-9.22-r1::gentoo  USE="256-color font-styles mousewheel perl unicode3 xft -blink -fading-colors -iso14755 -pixbuf -startup-notification" 0 KiB

And the patch for rxvt to approximate 24-bit colors to its 256 pallete. Everything's fine but I can't get vim to take any RGB color code:
Code:

:hi TexMathDelim ctermfg=Pink
E241: Color  name or number not recognized: ctermfg=Pink
:hi TexMathDelim ctermfg=#E2F432
E241: Color  name or number not recognized: ctermfg=#E2F432


t_Co is set to 256 and using the "evening" colorscheme is fine, but I wanted to tweak the Latex colors using some rgb codes.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum