diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/conform.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/conform.txt b/doc/conform.txt index 5995f99..66754a6 100644 --- a/doc/conform.txt +++ b/doc/conform.txt @@ -18,6 +18,8 @@ OPTIONS *conform-option lua = { "stylua" }, -- Conform will run multiple formatters sequentially python = { "isort", "black" }, + -- Use a sub-list to run only the first available formatter + javascript = { { "prettierd", "prettier" } }, }, -- If this is set, Conform will run the formatter on save. -- It will pass the table to conform.format(). @@ -118,7 +120,7 @@ get_formatter_info({formatter}, {bufnr}): conform.FormatterInfo *conform.get_for Get information about a formatter (including availability) Parameters: - {formatter} `string` + {formatter} `string` The name of the formatter {bufnr} `nil|integer` -------------------------------------------------------------------------------- |