peitalin / vim-jsx-typescript

React JSX syntax highlighting for vim and Typescript
The Unlicense
305 stars 29 forks source link

it is setting .jsx as typescript.tsx #16

Closed ApolloTang closed 5 years ago

ApolloTang commented 5 years ago

When I install this plugin it is setting .jsx as ft=typescript.tsx I wondering if this is intentional ? or a mistake

peitalin commented 5 years ago

Hi, This is intentional, the syntax highlighter should work for both javascript.jsx and typescript.tsx files.

filipekiss commented 4 years ago

Can you please consider another way of handling this instead of setting javascript.jsx files to typescript.tsx? I have configurations that should only be applied to typescript being applied to javascript and it's making it really difficult to manage things.