aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--doc/conform.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 7fef715..1a94de2 100644
--- a/README.md
+++ b/README.md
@@ -228,6 +228,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 = {
diff --git a/doc/conform.txt b/doc/conform.txt
index 2e207fd..16faaf4 100644
--- a/doc/conform.txt
+++ b/doc/conform.txt
@@ -36,6 +36,8 @@ OPTIONS *conform-option
},
-- 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 = {