mattn / vim-sonictemplate

Easy and high speed coding method
http://mattn.github.com/vim-sonictemplate
333 stars 42 forks source link

Rename jsx dir #56

Closed shinshin86 closed 2 years ago

shinshin86 commented 2 years ago

Hi! This plugin is very cool.

When I try to run it against a jsx file, I get the error Template foo does not exist . I did some research on this problem and found that files with the extension jsx seemed to be of the file type javascriptreact. https://github.com/vim/vim/blob/master/runtime/filetype.vim#L901-L902

Therefore, I rename the jsx directory to javascriptreact in the template directory.

mattn commented 2 years ago

Thank you