aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorSteven Arcangeli <stevearc@stevearc.com>2023-12-26 19:25:36 -0500
committerSteven Arcangeli <stevearc@stevearc.com>2023-12-26 19:46:48 -0500
commitb3e0752a6c566b97e2896b486caafd4b25f4683a (patch)
treeb232e34c48c3b2b1a015972bd7071de81b01869a /README.md
parent86393c143b8d1b7bdae1449fd25de315fd967fd7 (diff)
docs: autogenerate formatter options docs (#234)
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index f320b23..8171412 100644
--- a/README.md
+++ b/README.md
@@ -13,6 +13,7 @@ Lightweight yet powerful formatter plugin for Neovim
- [Recipes](#recipes)
- [Advanced topics](#advanced-topics)
- [Options](#options)
+- [Formatter options](#formatter-options)
- [API](#api)
- [format(opts, callback)](#formatopts-callback)
- [list_formatters(bufnr)](#list_formattersbufnr)
@@ -480,6 +481,15 @@ require("conform").formatters.my_formatter = {
<!-- /OPTIONS -->
+## Formatter options
+
+<!-- FORMATTER_OPTIONS -->
+
+- [injected](doc/formatter_options.md#injected)
+- [prettier](doc/formatter_options.md#prettier)
+
+<!-- /FORMATTER_OPTIONS -->
+
## API
<!-- API -->