Skip to content

Commit 49a564a

Browse files
reformat some long lines in REPL completions
1 parent 9fe6082 commit 49a564a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

base/repl/REPLCompletions.jl

+6-3
Original file line numberDiff line numberDiff line change
@@ -245,11 +245,14 @@ function find_start_brace(s::AbstractString; c_start='(', c_end=')')
245245
in_back_ticks = true
246246
end
247247
else
248-
if !in_back_ticks && !in_double_quotes && c == '\'' && !done(r, i) && next(r, i)[1]!='\\'
248+
if !in_back_ticks && !in_double_quotes &&
249+
c == '\'' && !done(r, i) && next(r, i)[1] != '\\'
249250
in_single_quotes = !in_single_quotes
250-
elseif !in_back_ticks && !in_single_quotes && c == '"' && !done(r, i) && next(r, i)[1]!='\\'
251+
elseif !in_back_ticks && !in_single_quotes &&
252+
c == '"' && !done(r, i) && next(r, i)[1] != '\\'
251253
in_double_quotes = !in_double_quotes
252-
elseif !in_single_quotes && !in_double_quotes && c == '`' && !done(r, i) && next(r, i)[1]!='\\'
254+
elseif !in_single_quotes && !in_double_quotes &&
255+
c == '`' && !done(r, i) && next(r, i)[1] != '\\'
253256
in_back_ticks = !in_back_ticks
254257
end
255258
end

0 commit comments

Comments
 (0)