diff options
| author | Tom Li Dobnik <tomlidobnik1@gmail.com> | 2026-03-02 11:31:44 +0100 |
|---|---|---|
| committer | Tom Li Dobnik <tomlidobnik1@gmail.com> | 2026-03-02 11:31:44 +0100 |
| commit | 1f156148fadab8468a46e598296b18b54f7860ce (patch) | |
| tree | a50c18fb078212fa3de1a21196224d56864cfc01 /.config/nvim/lua | |
| parent | 0fc0ab31c51d7337dd51a01ecf79c6587af7b2e6 (diff) | |
update
Diffstat (limited to '.config/nvim/lua')
| -rw-r--r-- | .config/nvim/lua/config/plugins/conform.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/nvim/lua/config/plugins/conform.lua b/.config/nvim/lua/config/plugins/conform.lua index 55660e9..5747200 100644 --- a/.config/nvim/lua/config/plugins/conform.lua +++ b/.config/nvim/lua/config/plugins/conform.lua @@ -23,10 +23,18 @@ return { css = { "prettierd", "prettier", stop_after_first = true }, html = { "prettierd", "prettier", stop_after_first = true }, typst = { "prettypst" }, + xml = { "xmlformatter" }, }, format_on_save = { timeout_ms = 500, lsp_format = "fallback", }, + formatters = { + xmlformat = { + command = "xmlformat", + args = { "--selfclose", "-" }, + stdin = true, + }, + }, }, } |
