aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/options_doc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/options_doc.lua')
-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 a796501..47eccd9 100644
--- a/scripts/options_doc.lua
+++ b/scripts/options_doc.lua
@@ -4,6 +4,8 @@ require("conform").setup({
lua = { "stylua" },
-- Conform will run multiple formatters sequentially
python = { "isort", "black" },
+ -- Use a sub-list to run only the first available formatter
+ javascript = { { "prettierd", "prettier" } },
},
-- If this is set, Conform will run the formatter on save.
-- It will pass the table to conform.format().