aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSteven Arcangeli <stevearc@stevearc.com>2024-07-14 10:45:06 -0700
committerSteven Arcangeli <stevearc@stevearc.com>2024-07-19 08:41:31 -0700
commit8c226d917918ffe92e0f30f4e13acfc088a5faa7 (patch)
tree55ccc9be2be96f9fc21ce63a2731718dbfdbaa1e /scripts
parentc16c749612fb34a9c1dcc6e4a0f40e24e37d5cfb (diff)
feat: notify when no formatters available for a buffer
Diffstat (limited to 'scripts')
-rw-r--r--scripts/options_doc.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/options_doc.lua b/scripts/options_doc.lua
index 17734d3..62ba104 100644
--- a/scripts/options_doc.lua
+++ b/scripts/options_doc.lua
@@ -43,6 +43,8 @@ require("conform").setup({
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 = {