MaxMEllon / vim-jsx-pretty

:flashlight: [Vim script] JSX and TSX syntax pretty highlighting for vim.
MIT License
969 stars 38 forks source link

Issue when opening new lines #120

Closed rnmp closed 4 years ago

rnmp commented 4 years ago

Hey @yuezk! Got a new one for you :)

pressing o

When I open new lines on component opening tags that are multiline, I get this extra > character. I disabled closetags and other similar plugins and I still see this behavior. Any idea what it could be?

yuezk commented 4 years ago

@rnmp Comment out this line, it's no longer needed, vim has set the filetype for ts/tsx, then everything will back to normal.

If you keep this line, it will cause the yats.vim to add the extra > character.

rnmp commented 4 years ago

You're a rockstar! Thanks @yuezk.