initial: with copilot addon

This commit is contained in:
squarePotatoe
2026-08-26 12:59:09 +08:00
parent 94997c4f9f
commit 1008568c39
18 changed files with 779 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
require("conform").setup({
formatter_by_ft = {
lua = { "stylua" },
javascript = { "prettierd", "prettier", stop_after_first = true },
json = { "prettierd", "prettier", stop_after_first = true },
vue = { "prettierd", "prettier", stop_after_first = true },
php = { "pint" },
},
format_on_save = {
timeout_ms = 500,
lsp_format = "fallback",
},
default_format_ops = {
lsp_format = "fallback",
},
})