diff options
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | doc/conform.txt | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -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 |