Color name or number not recognized when using tmux
Error detected while processing function <SNR>13_HL:
line 15:
E421: Color name or number not recognized: ctermfg=Orange ctermbg=NONE cterm=italic
E421: Color name or number not recognized: ctermfg=Orange ctermbg=NONE cterm=italic
E421: Color name or number not recognized: ctermfg=Orange ctermbg=NONE cterm=NONE
E421: Color name or number not recognized: ctermfg=Orange ctermbg=NONE cterm=NONE
E421: Color name or number not recognized: ctermfg=Orange ctermbg=NONE cterm=italic
E421: Color name or number not recognized: ctermfg=Orange ctermbg=NONE cterm=bold
E421: Color name or number not recognized: ctermfg=Orange ctermbg=NONE cterm=bold
E421: Color name or number not recognized: ctermfg=Orange ctermbg=NONE cterm=underline
E421: Color name or number not recognized: ctermfg=Orange ctermbg=NONE cterm=bold
OS: Pop!_OS
Term: Alacritty
vimrc: https://github.com/RossComputerGuy/dotfiles/blob/master/user/.vimrc
$TERM: screen
Note: This issue doesn't occur while on Void Linux but is present on Pop!_OS
Sorry for the late reply, got busy in the last few weeks. I haven't tested it yet with tmux, but my guess is because orange isn't the part of ansi color name (red,yellow,green,blue,cyan,magenta,white) and thus tmux couldn't know it
Note: This issue doesn't occur while on Void Linux but is present on Pop!_OS
Now I'm not sure about this. Can you provide the whole tmux.conf and .bashrc (or whatever the file you use to define TERM=screen)
My .zshrc does not define TERM and I do not have a tmux.conf file.
Hi, may be do you have forget "set termguicolors" Try witch Kitty? i have a color on Kitty but not on Tmux or Alacritty :(
@ghifarit53 that messes up the colors for me
https://github.com/ghifarit53/tokyonight-vim/issues/4#issuecomment-706660872
Ok i have the same error with Alacritty + Zsh and without set termguicolors... TERM=xterm ?
I faced same issue with MacOS + Alacritty + tmux. I added this line to my .tmux.conf then worked.
set -g default-terminal "xterm-256color"