mirror of
https://github.com/wavetermdev/waveterm
synced 2026-04-21 14:37:16 +00:00
Add basic Zed workspace configs (#1942)
This commit is contained in:
parent
cb15268fe6
commit
4f6dc435c1
1 changed files with 64 additions and 0 deletions
64
.zed/settings.json
Normal file
64
.zed/settings.json
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
{
|
||||
"format_on_save": "on",
|
||||
"languages": {
|
||||
"JavaScript": {
|
||||
"formatter": {
|
||||
"external": {
|
||||
"command": "./node_modules/.bin/prettier",
|
||||
"arguments": ["--stdin-filepath", "{buffer_path}"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"JSON": {
|
||||
"formatter": {
|
||||
"external": {
|
||||
"command": "./node_modules/.bin/prettier",
|
||||
"arguments": ["--stdin-filepath", "{buffer_path}"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"TypeScript": {
|
||||
"formatter": {
|
||||
"external": {
|
||||
"command": "./node_modules/.bin/prettier",
|
||||
"arguments": ["--stdin-filepath", "{buffer_path}"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"CSS": {
|
||||
"formatter": {
|
||||
"external": {
|
||||
"command": "./node_modules/.bin/prettier",
|
||||
"arguments": ["--stdin-filepath", "{buffer_path}"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"SCSS": {
|
||||
"formatter": {
|
||||
"external": {
|
||||
"command": "./node_modules/.bin/prettier",
|
||||
"arguments": ["--stdin-filepath", "{buffer_path}"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"YAML": {
|
||||
"formatter": {
|
||||
"external": {
|
||||
"command": "./node_modules/.bin/prettier",
|
||||
"arguments": ["--stdin-filepath", "{buffer_path}"]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"lsp": {
|
||||
"eslint": {
|
||||
"settings": {
|
||||
"codeActionOnSave": {
|
||||
"rules": ["import/order"]
|
||||
},
|
||||
"nodePath": "./node_modules/.bin",
|
||||
"language_ids": ["typescript", "javascript", "typescriptreact", "javascriptreact"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue