Open doubleChu opened 1 year ago
I can reproduce the problem with and without nvim-ts-autotag: both scenarios yield slightly different wrong outcomes.
Something similar seems to happens in C/C++ when inserting new braces pair And when you close file and open it again everything get back to normal
Describe the bug
Colors of tags look good after opening a file, but if I insert new tags in a tsx file, the color of its tags wouble be messed up.
Steps to reproduce
code:
type "\
Test\
" in the same level as \if I type :set filetype=typescriptreact or disable & enable TS highlight it would be refreshed and looks fine. The behavior is also not correct in jsx file, but in html file it is fine.
I have installed nvim-ts-autotag, is that plugin result in the problem?
Expected behavior
The correct tags color
Screenshots
Now: Expect: