Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set line break naming not consistent #1048

Closed
Polkas opened this issue Nov 3, 2022 · 2 comments · Fixed by #1049
Closed

Set line break naming not consistent #1048

Polkas opened this issue Nov 3, 2022 · 2 comments · Fixed by #1049

Comments

@Polkas
Copy link
Contributor

Polkas commented Nov 3, 2022

styler:::set_linebreak_after_ggplot2_plus is the only function without the _ between line and break.

styler_namespace <- asNamespace("styler")
grep("set_line", ls(styler_namespace), value = TRUE)
[1] "set_line_break_after_assignment"                    "set_line_break_after_opening_if_call_is_multi_line" "set_line_break_around_comma_and_or"                
[4] "set_line_break_around_curly_curly"                  "set_line_break_before_closing_call"                 "set_line_break_before_curly_opening"               
[7] "set_linebreak_after_ggplot2_plus" 
@lorenzwalthert
Copy link
Collaborator

Right. Wanna fix it in a PR?

@Polkas
Copy link
Contributor Author

Polkas commented Nov 3, 2022

I just created one and linked it here:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants