diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/autoformat_doc.lua | 4 | ||||
-rw-r--r-- | scripts/options_doc.lua | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/autoformat_doc.lua b/scripts/autoformat_doc.lua index f6476d4..45111ff 100644 --- a/scripts/autoformat_doc.lua +++ b/scripts/autoformat_doc.lua @@ -16,7 +16,7 @@ require("conform").setup({ return end -- ...additional logic... - return { timeout_ms = 500, lsp_fallback = true } + return { timeout_ms = 500, lsp_format = "fallback" } end, }) @@ -28,6 +28,6 @@ require("conform").setup({ return end -- ...additional logic... - return { lsp_fallback = true } + return { lsp_format = "fallback" } end, }) diff --git a/scripts/options_doc.lua b/scripts/options_doc.lua index e9ba668..193b462 100644 --- a/scripts/options_doc.lua +++ b/scripts/options_doc.lua @@ -25,14 +25,14 @@ require("conform").setup({ -- This can also be a function that returns the table. format_on_save = { -- I recommend these options. See :help conform.format for details. - lsp_fallback = true, + lsp_format = "fallback", timeout_ms = 500, }, -- If this is set, Conform will run the formatter asynchronously after save. -- It will pass the table to conform.format(). -- This can also be a function that returns the table. format_after_save = { - lsp_fallback = true, + lsp_format = "fallback", }, -- Set the log level. Use `:ConformInfo` to see the location of the log file. log_level = vim.log.levels.ERROR, |