Skip to content

Commit

Permalink
Add missing tab-completion help for emoji
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarsh2102 committed Dec 6, 2019
1 parent 6f69067 commit 0722f14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stdlib/REPL/src/docview.jl
Expand Up @@ -240,7 +240,8 @@ repl_corrections(s) = repl_corrections(stdout, s)
const symbols_latex = Dict{String,String}()
function symbol_latex(s::String)
if isempty(symbols_latex) && isassigned(Base.REPL_MODULE_REF)
for (k,v) in Base.REPL_MODULE_REF[].REPLCompletions.latex_symbols
for (k,v) in Iterators.flatten((Base.REPL_MODULE_REF[].REPLCompletions.latex_symbols,
Base.REPL_MODULE_REF[].REPLCompletions.emoji_symbols))
symbols_latex[v] = k
end
end
Expand Down

0 comments on commit 0722f14

Please sign in to comment.