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.
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 typejavascriptreact
. https://github.com/vim/vim/blob/master/runtime/filetype.vim#L901-L902Therefore, I rename the
jsx
directory tojavascriptreact
in the template directory.