vim-codequery icon indicating copy to clipboard operation
vim-codequery copied to clipboard

Allow adding new filetypes

Open mohitt opened this issue 6 years ago • 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

mohitt avatar Jun 14 '18 21:06 mohitt

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.

devjoe avatar Jun 18 '18 14:06 devjoe