diff options
Diffstat (limited to 'lua/plugins/conform.lua')
-rw-r--r-- | lua/plugins/conform.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lua/plugins/conform.lua b/lua/plugins/conform.lua new file mode 100644 index 0000000..2751524 --- /dev/null +++ b/lua/plugins/conform.lua @@ -0,0 +1,11 @@ +return { + { + "stevearc/conform.nvim", + config = function() + require("conform").setup({ + formatters_by_ft = { lua = { "stylua" } }, + format_on_save = { timeout_ms = 500, lsp_format = "fallback" }, + }) + end, + }, +} |