1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

[enh] add cpp language rewrite rule

This commit is contained in:
Adam Tauber 2015-01-15 18:40:19 +01:00
parent a61a96d975
commit 6503fdf2aa

View File

@ -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