summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/configs/conform.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/configs/conform.lua')
-rw-r--r--.config/nvim/lua/configs/conform.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/.config/nvim/lua/configs/conform.lua b/.config/nvim/lua/configs/conform.lua
new file mode 100644
index 0000000..35ba6cf
--- /dev/null
+++ b/.config/nvim/lua/configs/conform.lua
@@ -0,0 +1,15 @@
+local options = {
+ formatters_by_ft = {
+ lua = { "stylua" },
+ -- css = { "prettier" },
+ -- html = { "prettier" },
+ },
+
+ -- format_on_save = {
+ -- -- These options will be passed to conform.format()
+ -- timeout_ms = 500,
+ -- lsp_fallback = true,
+ -- },
+}
+
+return options