devjoe/vim-codequery

Allow adding new filetypes

mohitt opened this issue · 1 comments

Hi devjoe,

Thanks a ton for great plugin. I tried using this plugin on react javascript files. Which are shown as a type of javascipt.jsx. Because of vim jsx plugin.

Is it possible for me to configure the fie type? in my case it is 'javascript.jsx'

Regards
Mohit

In fact, vim-codequery uses starscope to index javascript files. And according to LANGUAGE_SUPPORT page in starscope project, starscope does support ES6/ES7 and JSX.

So, well, I should make this plugin support jsx filetype.
Thanks for your suggestion @codemerlin . Will implement this enhancement when I have free time.

Also, feel free to send me a PR if you know how to do it.