1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-11-28 03:42:07 +03:00

c++: minifix

This commit is contained in:
Igor Chubin 2017-07-25 21:30:04 +00:00
parent 7e95b13e5e
commit 7c4c85df7c
2 changed files with 2 additions and 2 deletions

View File

@ -519,7 +519,7 @@ class LearnRubyAdapter(LearnXYAdapter):
ADAPTERS = {
'clojure' : LearnClojureAdapter(),
'cpp' : LearnCppAdapter(),
'c++' : LearnCppAdapter(),
'elixir' : LearnElixirAdapter(),
'elm' : LearnElmAdapter(),
'erlang' : LearnErlangAdapter(),

View File

@ -39,7 +39,7 @@ from adapter_learnxiny import get_learnxiny, get_learnxiny_list, is_valid_learnx
INTERNAL_TOPICS = [":list", ":firstpage", ':post', ':bash_completion', ':help', ':styles', ':styles-demo', ':emacs', ':emacs-ivy', ':fish', ':bash', ':zsh']
LEXER = {
"clojure": pygments.lexers.ClojureLexer,
"cpp" : pygments.lexers.CppLexer,
"c++" : pygments.lexers.CppLexer,
"erlang": pygments.lexers.ErlangLexer,
"elixir": pygments.lexers.ElixirLexer,
"elm" : pygments.lexers.ElmLexer,