tpope / vim-apathy

apathy.vim: Set the 'path' option for miscellaneous file types
180 stars 9 forks source link

Support typescriptreact, javascriptreact filetypes #15

Closed miles-d closed 4 years ago

miles-d commented 4 years ago

Hi, thanks a lot for making this plugin!

I started having a problem after upgrading vim to 8.2 - vim-apathy stopped working for .tsx files.

I found that .tsx now have their own filetype (and same for .jsx). See vim patch 8.1.1930: https://github.com/vim/vim/commit/92852cee3fcff1dc6ce12387b234634e73267b22

Would you be willing to accept this change to treat typescriptreact and javascriptreact filetypes as JavaScript from apathy’s perspective?