on master help sign in
[enh] add cpp language rewrite rule
6503fdfAdam Tauber
searx/engines/searchcode_code.py+2−1
@@ -23,7 +23,8 @@ search_url = url+'api/codesearch_I/?{query}&p={pageno}'
23# special code-endings which are not recognised by the file ending
23# special code-endings which are not recognised by the file ending
24code_endings = {'cs': 'c#',
24code_endings = {'cs': 'c#',
25 'h': 'c',
25 'h': 'c',
26− 'hpp': 'cpp'}
26+ 'hpp': 'cpp',
27+ 'cxx': 'cpp'}
27
28
28
29
29# do search-request
30# do search-request