Open yuntan opened 3 years ago
Checking out 07370d48c605ec027543b52762930165b1b27779 solved the problem.
@peitalin @yuntan Same problem on my side fresh install of everything. The JSX highlighting works as expected however the TSX does not.
58 │ " set filetypes as typescriptreact
59 │ autocmd BufNewFile,BufRead *.tsx,*.jsx set filetype=typescriptreact
60 │
61 │ " dark red
62 │ hi tsxTagName guifg=#E06C75
63 │ hi tsxComponentName guifg=#E06C75
64 │ hi tsxCloseComponentName guifg=#E06C75
65 │ "
66 │ " " orange
67 │ hi tsxCloseString guifg=#F99575
68 │ hi tsxCloseTag guifg=#F99575
69 │ hi tsxCloseTagName guifg=#F99575
70 │ hi tsxAttributeBraces guifg=#F99575
71 │ hi tsxEqual guifg=#F99575
72 │ "
73 │ " " yellow
74 │ hi tsxAttrib guifg=#F8BD7F cterm=italic
What I also discovered is that when I use :GFile
in the preview window it looks like this:
But when I open the file:
So weird...
What does yall's output show when you open a .tsx file with verbose
flag?
Update, I reinstalled all plugins and seems to be working now, no idea why...
neovim v4.4.0 leafgarland/typescript-vim 9f247d7 peitalin/vim-jsx-typescript 22df470