### Bug description

````
---
title: "Minimal Working Example"
execute: 
  tidy: true
---

```{r}
#| eval: false

df_ches = read_csv("1999-2014_CHES.csv") %>% 
  select(country, party, year, galtan) %>% 
  mutate(
    galtan = recode(galtan, "center" = "5", "extreme tan"="10") %>% as.numeric()
  )
```
````

When I add it locally in the chunk with #| tidy: true, it works [as.numeric() on a new line], but not globally in the yaml header ][stays on the same line].

R Studio: 2022.12.0 Build 353 on Windows 11

### Checklist

- [x] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
2022-12-22T10:21:11Z
benjaminschlegel
bug
closed
tidy: true globally
https://github.com/quarto-dev/quarto-cli/issues/3735