BurntSushi/ripgrep

Add Vuejs as a file list to type-list

DMunkei opened this issue · 1 comments

When I'm trying to limit my search only on the filetype .vue using the -t flag it doesn't work.

I get the following error:

➜ rg -tvue LecturerBelongsToCourse
rg: unrecognized file type: vue

I checked inside of the found types with rg --type-list the output shows that it's not added. Here's the section detailing filetypes starting with the letter v

v: *.v, *.vsh
vala: *.vala
vb: *.vb
vcl: *.vcl
verilog: *.sv, *.svh, *.v, *.vh
vhdl: *.vhd, *.vhdl
vim: *.vim, .gvimrc, .vimrc, _gvimrc, _vimrc, gvimrc, vimrc
vimscript: *.vim, .gvimrc, .vimrc, _gvimrc, _vimrc, gvimrc, vimrc

I believe it would be a nice addition to add Vuejs files to be handled by ripgrep :).

I'd be willing to have a go at adding it, if it's not something that's too complicated? Or with some guidance.

Thanks for the report.

I don't track issues for file type requests. Adding them to ripgrep is trivial, so I'd rather folks just submit PRs adding them.