vim-jsx-typescript icon indicating copy to clipboard operation
vim-jsx-typescript copied to clipboard

jsx-tag settings doesn't work

Open KKKiraSong opened this issue 4 years ago • 6 comments

I try to set jsx-tag colors in vimrc following Readme.md, but it doesn't work. image Why?

KKKiraSong avatar Jun 27 '20 07:06 KKKiraSong

Sorry for my poor English...

KKKiraSong avatar Jun 27 '20 07:06 KKKiraSong

I believe guifg only works for gui versions of vim (gvim or similar). If you are using vim in your terminal, I think you need ctermfg.

ex: hi tsxTagName ctermfg=210

pcgilday avatar Jul 06 '20 23:07 pcgilday

I believe guifg only works for gui versions of vim (gvim or similar). If you are using vim in your terminal, I think you need ctermfg.

ex: hi tsxTagName ctermfg=210

Thanks! But I need to set TERM to screen-256color first!

KKKiraSong avatar Jul 07 '20 12:07 KKKiraSong

@KKKiraSong Hi, how did you set TERM to screen-256color? I use linux and don't know how to do it :(

WylliamDias avatar Aug 06 '20 06:08 WylliamDias

@WylliamDias Hi, I use macOS & iTerm & tmux & zsh. I write 'export TERM=screen-256color' in my .zshrc. But I don't know if it works for you.

KKKiraSong avatar Aug 10 '20 07:08 KKKiraSong

Hi @KKKiraSong i use bash, I write that o my .bashrc and it works, thank you so much!

WylliamDias avatar Aug 10 '20 13:08 WylliamDias