You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use yats for syntax highlighting typescript and polyglot for all other languages. Until recently, setting let g:polyglot_disabled = ['typescript'] was enough to disable polyglot's detection of typescript.
TSX files have started seeing syntax highlighting issues. Upon investigation, this file appears to get loaded for typescript and requires the disable flags to be updated to let g:polyglot_disabled = ['typescript', 'jsx'].
I don't know enough to understand whether that's intentional or is a copy/paste issue from its javascript counterpart. The comment block at the top refers to javascript.jsx so I suspect it's the latter.
To Reproduce:
Set let g:polyglot_disabled = ['typescript'] and load a TSX file. JSX and styled-components regions are still highlighted.
The text was updated successfully, but these errors were encountered:
Describe the bug:
I use yats for syntax highlighting typescript and polyglot for all other languages. Until recently, setting
let g:polyglot_disabled = ['typescript']
was enough to disable polyglot's detection of typescript.TSX files have started seeing syntax highlighting issues. Upon investigation, this file appears to get loaded for typescript and requires the disable flags to be updated to
let g:polyglot_disabled = ['typescript', 'jsx']
.I don't know enough to understand whether that's intentional or is a copy/paste issue from its javascript counterpart. The comment block at the top refers to
javascript.jsx
so I suspect it's the latter.To Reproduce:
Set
let g:polyglot_disabled = ['typescript']
and load a TSX file. JSX and styled-components regions are still highlighted.The text was updated successfully, but these errors were encountered: