diff options
author | Steven Arcangeli <stevearc@stevearc.com> | 2024-07-14 10:45:06 -0700 |
---|---|---|
committer | Steven Arcangeli <stevearc@stevearc.com> | 2024-07-19 08:41:31 -0700 |
commit | 8c226d917918ffe92e0f30f4e13acfc088a5faa7 (patch) | |
tree | 55ccc9be2be96f9fc21ce63a2731718dbfdbaa1e /doc | |
parent | c16c749612fb34a9c1dcc6e4a0f40e24e37d5cfb (diff) |
feat: notify when no formatters available for a buffer
Diffstat (limited to 'doc')
-rw-r--r-- | doc/conform.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/conform.txt b/doc/conform.txt index 89b5468..8d2fa3e 100644 --- a/doc/conform.txt +++ b/doc/conform.txt @@ -56,6 +56,8 @@ OPTIONS *conform-option log_level = vim.log.levels.ERROR, -- Conform will notify you when a formatter errors notify_on_error = true, + -- Conform will notify you when no formatters are available for the buffer + notify_no_formatters = true, -- Custom formatters and overrides for built-in formatters formatters = { my_formatter = { @@ -158,6 +160,9 @@ setup({opts}) *conform.setu the location of the log file. {notify_on_error} `nil|boolean` Conform will notify you when a formatter errors (default true). + {notify_no_formatters} `nil|boolean` Conform will notify you when no + formatters are available for the buffer (default + true). {formatters} `nil|table<string, conform.FormatterConfigOverride|fun(bufnr: integer): nil|conform.FormatterConfigOverride>` Custom formatters and overrides for built-in formatters. |