Skip to content

Commit

Permalink
double indent sciml
Browse files Browse the repository at this point in the history
  • Loading branch information
domluna committed Oct 1, 2023
1 parent e20cda3 commit b00a0ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/styles/sciml/nest.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ function n_tuple!(ds::SciMLStyle, fst::FST, s::State)
if fst.ref !== nothing &&
parent_is(fst.ref[], n -> is_function_or_macro_def(n) || n.head == :macrocall)
add_indent!(fst, s, s.opts.indent)
if is_closer(fst[end])
fst[end].indent -= s.opts.indent
end
end
return
end

0 comments on commit b00a0ba

Please sign in to comment.