summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Arcangeli <stevearc@stevearc.com>2024-07-14 23:11:22 -0700
committerSteven Arcangeli <stevearc@stevearc.com>2024-07-19 08:41:31 -0700
commit485224d476a78c43b3d797e39eced9089be9d6ae (patch)
treec02e91e54f3b1d36f8fc3b3173bf149f63fb68be /doc
parent1b590cda290bbabdb116397cb241d20530281b87 (diff)
doc: regenerate documentation
Diffstat (limited to 'doc')
-rw-r--r--doc/conform.txt19
1 files changed, 12 insertions, 7 deletions
diff --git a/doc/conform.txt b/doc/conform.txt
index 8d2fa3e..d514c62 100644
--- a/doc/conform.txt
+++ b/doc/conform.txt
@@ -94,7 +94,6 @@ OPTIONS *conform-option
-- Set to false to disable merging the config with the base definition
inherit = true,
-- When inherit = true, add these additional arguments to the beginning of the command.
- -- When inherit = true, add these additional arguments to the command.
-- This can also be a function, like args
prepend_args = { "--use-tabs" },
-- When inherit = true, add these additional arguments to the end of the command.
@@ -224,6 +223,18 @@ list_formatters({bufnr}): conform.FormatterInfo[] *conform.list_formatter
Parameters:
{bufnr} `nil|integer`
+list_formatters_to_run({bufnr}): conform.FormatterInfo[], boolean *conform.list_formatters_to_run*
+ Get the exact formatters that will be run for a buffer.
+
+ Parameters:
+ {bufnr} `nil|integer`
+ Returns:
+ `conform.FormatterInfo[]`
+ `boolean` lsp Will use LSP formatter
+
+ Note:
+ This accounts for stop_after_first, lsp fallback logic, etc.
+
list_all_formatters(): conform.FormatterInfo[] *conform.list_all_formatters*
List information about all filetype-configured formatters
@@ -235,12 +246,6 @@ get_formatter_info({formatter}, {bufnr}): conform.FormatterInfo *conform.get_for
{formatter} `string` The name of the formatter
{bufnr} `nil|integer`
-will_fallback_lsp({options}): boolean *conform.will_fallback_lsp*
- Check if the buffer will use LSP formatting when lsp_format = "fallback"
-
- Parameters:
- {options} `nil|table` Options passed to |vim.lsp.buf.format|
-
--------------------------------------------------------------------------------
FORMATTERS *conform-formatters*