aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/options_doc.lua
diff options
context:
space:
mode:
authorSteven Arcangeli <506791+stevearc@users.noreply.github.com>2024-06-17 10:15:39 -0400
committerGitHub <noreply@github.com>2024-06-17 10:15:39 -0400
commit9228b2ff4efd58b6e081defec643bf887ebadff6 (patch)
tree735ef8963d70c6ec86d9aba3844224e2409d9132 /scripts/options_doc.lua
parent6e5d476e97dbd251cc2233d42fd238c810404701 (diff)
feat!: expand options for LSP formatting (#456)
Diffstat (limited to 'scripts/options_doc.lua')
-rw-r--r--scripts/options_doc.lua4
1 files changed, 2 insertions, 2 deletions
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,