diff options
Diffstat (limited to 'vim/lua/configs/conform.lua')
-rw-r--r-- | vim/lua/configs/conform.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vim/lua/configs/conform.lua b/vim/lua/configs/conform.lua new file mode 100644 index 0000000..a000447 --- /dev/null +++ b/vim/lua/configs/conform.lua | |||
@@ -0,0 +1,15 @@ | |||
1 | local options = { | ||
2 | formatters_by_ft = { | ||
3 | lua = { "stylua" }, | ||
4 | -- css = { "prettier" }, | ||
5 | -- html = { "prettier" }, | ||
6 | }, | ||
7 | |||
8 | -- format_on_save = { | ||
9 | -- -- These options will be passed to conform.format() | ||
10 | -- timeout_ms = 500, | ||
11 | -- lsp_fallback = true, | ||
12 | -- }, | ||
13 | } | ||
14 | |||
15 | require("conform").setup(options) | ||