Skip to content

Commit

Permalink
switch yas to default style for indents
Browse files Browse the repository at this point in the history
  • Loading branch information
domluna committed Sep 28, 2023
1 parent dbb0b2d commit 1b33121
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/styles/sciml/pretty.jl
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,11 @@ for f in [
for T in Ts
@eval function $f(ss::SciMLStyle, cst::$T, s::State; kwargs...)
style = getstyle(ss)
$f(YASStyle(style), cst, s; kwargs...)
if s.opts.yas_style_nesting
$f(YASStyle(style), cst, s)
else
$f(DefaultStyle(style), cst, s)
end
end
end
end
Expand Down

0 comments on commit 1b33121

Please sign in to comment.