Files
video.js-mirror/.zed/settings.json

76 lines
1.8 KiB
JSON

{
"auto_install_extensions": {
"oxc": true,
"astro": true,
"mdx": true,
"markdownlint": true
},
"format_on_save": "on",
"lsp": {
"oxlint": {
"initialization_options": {
"settings": {
"run": "onType",
"fixKind": "safe_fix",
"typeAware": false,
"unusedDisableDirectives": "warn"
}
}
},
"oxfmt": {
"initialization_options": {
"settings": {
"fmt.configPath": "./vite.config.ts",
"run": "onSave"
}
}
},
"vtsls": {
"settings": {
"vtsls": {
"autoUseWorkspaceTsdk": true
}
}
}
},
"languages": {
"JavaScript": {
"formatter": [{ "language_server": { "name": "oxfmt" } }],
"code_action": "source.fixAll.oxc",
"language_servers": ["!eslint", "..."]
},
"TypeScript": {
"formatter": [{ "language_server": { "name": "oxfmt" } }],
"code_action": "source.fixAll.oxc",
"language_servers": ["!eslint", "..."]
},
"TSX": {
"formatter": [{ "language_server": { "name": "oxfmt" } }],
"code_action": "source.fixAll.oxc",
"language_servers": ["!eslint", "..."]
},
"JSON": {
"formatter": [{ "language_server": { "name": "oxfmt" } }],
"code_action": "source.fixAll.oxc"
},
"JSONC": {
"formatter": [{ "language_server": { "name": "oxfmt" } }],
"code_action": "source.fixAll.oxc"
},
"CSS": {
"formatter": [{ "language_server": { "name": "oxfmt" } }],
"code_action": "source.fixAll.oxc"
},
"Astro": {
"formatter": [{ "language_server": { "name": "oxfmt" } }],
"code_action": "source.fixAll.oxc"
},
"Markdown": {
"format_on_save": "off"
},
"MDX": {
"format_on_save": "off"
}
}
}