mirror of
https://github.com/kjanat/livegraphs-django.git
synced 2026-02-13 20:35:41 +01:00
Configure oxc LSP initialization options: run set to "onType", typeAware enabled, unusedDisableDirectives set to "allow", and configPath/tsConfigPath left null.
43 lines
850 B
JSON
43 lines
850 B
JSON
{
|
|
"auto_install_extensions": { "ty": true },
|
|
"languages": {
|
|
"Python": {
|
|
"language_servers": [
|
|
// Disable basedpyright and enable Ty, and otherwise
|
|
// use the default configuration.
|
|
"ty",
|
|
"!basedpyright",
|
|
"..."
|
|
]
|
|
},
|
|
"TypeScript": {
|
|
"language_servers": [
|
|
// Enable oxc for TypeScript files.
|
|
"oxc",
|
|
"..."
|
|
]
|
|
},
|
|
"JavaScript": {
|
|
"language_servers": [
|
|
// Enable oxc for JavaScript files.
|
|
"oxc",
|
|
"..."
|
|
]
|
|
}
|
|
},
|
|
"lsp": {
|
|
"oxc": {
|
|
"initialization_options": {
|
|
"options": {
|
|
"run": "onType",
|
|
"configPath": null,
|
|
"tsConfigPath": null,
|
|
"unusedDisableDirectives": "allow",
|
|
"typeAware": true,
|
|
"flags": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|