diff options
author | Steven Arcangeli <stevearc@stevearc.com> | 2024-01-06 10:26:19 -0800 |
---|---|---|
committer | Steven Arcangeli <stevearc@stevearc.com> | 2024-01-06 10:26:19 -0800 |
commit | 0e61fc88f725b4411e63b43470a397c6102534c7 (patch) | |
tree | 300341101e49e9237ae3100a295437429c1e9aa8 /doc/advanced_topics.md | |
parent | ad347d70e66737a8b9d62c19df1c0e2c5b2cd008 (diff) |
doc: update advanced topic injected docs to point to formatter options
Diffstat (limited to 'doc/advanced_topics.md')
-rw-r--r-- | doc/advanced_topics.md | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/doc/advanced_topics.md b/doc/advanced_topics.md index bc66f4f..4dcc421 100644 --- a/doc/advanced_topics.md +++ b/doc/advanced_topics.md @@ -28,9 +28,4 @@ Sometimes you may have a file that contains small chunks of code in another lang The way that conform supports this is via the `injected` formatter. If you run this formatter on a file, it will use treesitter to parse out the blocks in the file that have different languages and runs the formatters for that filetype (configured with `formatters_by_ft`). The formatters are run in parallel, one job for each language block. -This formatter is experimental; the behavior and configuration options are still subject to change. Below are the current options available to customize the behavior of the formatter. - -```lua --- Set this value to true to silence errors when formatting a block fails -require("conform.formatters.injected").options.ignore_errors = false -``` +This formatter is experimental; the behavior and configuration options are still subject to change. The current list of configuration options can be found at [formatter options](formatter_options.md#injected) |