aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--doc/conform.txt2
2 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 449a4ff..e7d2323 100644
--- a/README.md
+++ b/README.md
@@ -283,6 +283,7 @@ Format a buffer
| | async | `nil\|boolean` | If true the method won't block. Defaults to false. |
| | formatters | `nil\|string[]` | List of formatters to run. Defaults to all formatters for the buffer filetype. |
| | lsp_fallback | `nil\|boolean` | Attempt LSP formatting if no formatters are available. Defaults to false. |
+| | quiet | `nil\|boolean` | Don't show any notifications for warnings or failures. Defaults to false. |
Returns:
diff --git a/doc/conform.txt b/doc/conform.txt
index 5e5cabc..f105409 100644
--- a/doc/conform.txt
+++ b/doc/conform.txt
@@ -92,6 +92,8 @@ format({opts}): boolean *conform.forma
all formatters for the buffer filetype.
{lsp_fallback} `nil|boolean` Attempt LSP formatting if no formatters
are available. Defaults to false.
+ {quiet} `nil|boolean` Don't show any notifications for warnings
+ or failures. Defaults to false.
Returns:
`boolean` True if any formatters were attempted