aboutsummaryrefslogtreecommitdiffhomepage
path: root/vim/nvim/lua/configs/conform.lua
diff options
context:
space:
mode:
Diffstat (limited to 'vim/nvim/lua/configs/conform.lua')
-rw-r--r--vim/nvim/lua/configs/conform.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/vim/nvim/lua/configs/conform.lua b/vim/nvim/lua/configs/conform.lua
new file mode 100644
index 0000000..a000447
--- /dev/null
+++ b/vim/nvim/lua/configs/conform.lua
@@ -0,0 +1,15 @@
1local 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
15require("conform").setup(options)