feat: Use oxfmt to reformat json/yaml/toml/markdown

This commit is contained in:
ulic-youthlic 2026-02-10 12:45:34 +08:00
parent e85da11b65
commit 4b00734efe
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
5 changed files with 50 additions and 66 deletions

View file

@ -7,6 +7,38 @@
"arguments": ["-"]
}
}
},
"JSON": {
"formatter": {
"external": {
"command": "oxfmt",
"arguments": ["--stdin-filepath", "{buffer_path}"]
}
}
},
"Markdown": {
"formatter": {
"external": {
"command": "oxfmt",
"arguments": ["--stdin-filepath", "{buffer_path}"]
}
}
},
"YAML": {
"formatter": {
"external": {
"command": "oxfmt",
"arguments": ["--stdin-filepath", "{buffer_path}"]
}
}
},
"TOML": {
"formatter": {
"external": {
"command": "oxfmt",
"arguments": ["--stdin-filepath", "{buffer_path}"]
}
}
}
}
}