We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I don't know why the plugin doesn't work. I add the line let g:jsx_ext_required = 0 and it didn't work.
let g:jsx_ext_required = 0
If I put :set syntax=javascript.jsx it works, but I want to work without use this every time.
:set syntax=javascript.jsx
Os version: Mojave Vim version: 8.0
The text was updated successfully, but these errors were encountered:
@CristoAMH You can add something like this to your vimrc
" Use JSX syntax highlighting in TSX files autocmd BufRead,BufNewFile *.tsx setlocal syntax=javascript.jsx
Sorry, something went wrong.
Maybe all JavaScript files should be highlighted by default? Not a major issue for me, but it's a very sensible default.
No branches or pull requests
I don't know why the plugin doesn't work.
I add the line
let g:jsx_ext_required = 0
and it didn't work.If I put
:set syntax=javascript.jsx
it works, but I want to work without use this every time.Os version: Mojave
Vim version: 8.0
The text was updated successfully, but these errors were encountered: