diff options
author | Steven Arcangeli <506791+stevearc@users.noreply.github.com> | 2023-08-29 20:26:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-29 20:26:24 -0700 |
commit | 08dc913fb22d402a98d1d9733536f2876c6f6314 (patch) | |
tree | c702f095100a4c14a37071f4946d4a87b7687aae /tests | |
parent | 288068b1b78c79e64054ef443afbf6f2f5145da4 (diff) |
feat: notify when formatter errors, and add notify_on_error config option (#16)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/options_doc.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/options_doc.lua b/tests/options_doc.lua index bdbf5df..82447fb 100644 --- a/tests/options_doc.lua +++ b/tests/options_doc.lua @@ -22,6 +22,8 @@ require("conform").setup({ }, -- Set the log level. Use `:ConformInfo` to see the location of the log file. log_level = vim.log.levels.ERROR, + -- Conform will notify you when a formatter errors + notify_on_error = true, -- Define custom formatters here formatters = { my_formatter = { |