Closed Dimfred closed 1 year ago
Hey, glad you're enjoying it so far! Initially I was wondering whether to make it so you could easily add custom filetypes via the API, however I wanted to encourage people to create PRs to grow the amount of language support. Maybe this would still be useful for testing purposes 🤔 Either way, kudos for finding a way around it! 😉 I've added your code to filetypes
, C++ is now officially supported. Thanks for the issue!
I discovered some things over the weeks, will create a PR to fix that ;) Thanks for putting it in tho.
Hey I have played around with the C++ integration. This is what I do in the config part to achieve this. Before submitting a PR I would like to test it a bit in the field. But for anyone interested, guess you could also try using it.
@piersolenski I tried also putting
hpp
, andcpp
into extensions, which kinda tells me:unrecognized file type: hpp
, not sure why? I guess the extensions, are filter params forwarded torg
right? In general it seems to work withh
andc
, will test it more over the next days.EDIT: okay saw the
rg --type-list
thathpp
is part ofh
, thocpp
should also be included.Btw thanks for the plugin, wanted something like this for a long time <3