Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .svelte file type to default type list #2874

Open
josbra-attensi opened this issue Aug 15, 2024 · 0 comments · May be fixed by #2909
Open

Add .svelte file type to default type list #2874

josbra-attensi opened this issue Aug 15, 2024 · 0 comments · May be fixed by #2909

Comments

@josbra-attensi
Copy link

Describe your feature request

Svelte is popular enough with it's own file types .svelte and .svelte.ts (the latter would still be picked up by searching -tts but would probably make sense to add to the .svelte glob.

I would like to be able to simply run rg "my query" -tsvelte and not add the --type-add flag each time. I think this makes sense because it is now an established file type, and not my own made up filetype.

Maybe add to the existing list:

svelte: *.svelte, *.svelte.ts

or similar? :)

@colin-heffernan colin-heffernan linked a pull request Oct 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant