AndrewRadev/splitjoin.vim

Support for new javascriptreact and typescriptreact filetypes

Closed this issue · 2 comments

The behavior of the plugins' commands is quite different when the filetype is either javascriptreact or typescriptreact. The gS command doesn't even work at all. When I change the filetype to javascript or typescript correspondingly everything seems to be working as expected.

I've seen some discussion about this in the mailing list, but didn't end up following until the resolution. I can see support for "javascriptreact" in my Vim installation, though, so I guess that should be the canonical filetype.

I've added support for both filetypes in master, linked it to the existing JSX/TSX support. Let me know if works now.

Thank you for the immediate response. Everything seems to be working now.