Repository navigation
v3.13.0
Highlights
You can now configure code style options per document and per code block:
code-style:
line-width: 80
indent-width: 2Or, for a code block:
```{{r}}
#| code-style:
#| line-width: 40
#| indent-width: 2
result <- some_function(first_argument, second_argument)
```Setting code block options will override the document-level options, which in turn override global options.
Currently only formatters Arity, Black, Prettier, and Ruff are supported, but eventually this will be extended to all formatters that support code style options.
At the moment, this also supports only line-width and indent-width, but more options will be added in the future.
Features
Bug Fixes
- linter: resolve anchors in Quarto includes (
160839c) - formatter: preserve leading math sign spacing (
7f3d427) - deps: require
salsa0.28.5 (df19d46)
Performance Improvements
- lsp: avoid temporary schema subtree allocations (
5bf406d)
Dependencies
- updated crates/panache-formatter to v0.26.0
- updated crates/panache-parser to v0.31.0