aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/configs/conform.lua
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2025-09-07 18:03:20 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2025-09-07 18:03:20 +0530
commit2cc42213f120ffe6a2f06f610bccc31f0c68c2e7 (patch)
treed1a1fbe8f49e500758044e8893d733e49ef58773 /nvim/lua/configs/conform.lua
parentc4e46f4ee64a0096bb836de0346d3ca5ff2b8145 (diff)
removed nvim submodule
Diffstat (limited to 'nvim/lua/configs/conform.lua')
-rw-r--r--nvim/lua/configs/conform.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/nvim/lua/configs/conform.lua b/nvim/lua/configs/conform.lua
new file mode 100644
index 0000000..35ba6cf
--- /dev/null
+++ b/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