search: lucky rule interprets patterns as type
Created by: rvantonder
Stacked on https://github.com/sourcegraph/sourcegraph/pull/37057.
Now you just type something like commit
or symbol
in the query and it will search for that type
.
Test plan
Added test.