From 0e61fc88f725b4411e63b43470a397c6102534c7 Mon Sep 17 00:00:00 2001 From: Steven Arcangeli Date: Sat, 6 Jan 2024 10:26:19 -0800 Subject: doc: update advanced topic injected docs to point to formatter options --- doc/advanced_topics.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'doc') 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) -- cgit v1.2.3-70-g09d2