forked from zaclys/searxng
[enh] add cpp language rewrite rule
This commit is contained in:
parent
a61a96d975
commit
6503fdf2aa
|
@ -23,7 +23,8 @@ search_url = url+'api/codesearch_I/?{query}&p={pageno}'
|
|||
# special code-endings which are not recognised by the file ending
|
||||
code_endings = {'cs': 'c#',
|
||||
'h': 'c',
|
||||
'hpp': 'cpp'}
|
||||
'hpp': 'cpp',
|
||||
'cxx': 'cpp'}
|
||||
|
||||
|
||||
# do search-request
|
||||
|
|
Loading…
Reference in New Issue