mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-26 23:25:55 -05:00
f281922359
This doesn't do much yet but should provide a better foundation for improvement than the jQuery UI, as described in the github issue.
34 lines
845 B
JSON
34 lines
845 B
JSON
{
|
|
// General settings (notably including Javascript/Typescript).
|
|
"editor.detectIndentation": false,
|
|
"editor.tabSize": 2,
|
|
"editor.rulers": [
|
|
{
|
|
"column": 80,
|
|
"color": "#cc8888"
|
|
}
|
|
],
|
|
"editor.formatOnSave": true,
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
"editor.insertSpaces": true,
|
|
|
|
// Rust-specific overrides.
|
|
"[rust]": {
|
|
"editor.tabSize": 4,
|
|
"editor.rulers": [
|
|
80,
|
|
{
|
|
"column": 100,
|
|
"color": "#cc8888"
|
|
}
|
|
],
|
|
|
|
// It seems like rust-analyzer is supposed to be able to format
|
|
// Rust files, but with "matklad.rust-analyzer" here, VS Code says
|
|
// "There is no formatter for 'rust' files installed."
|
|
"editor.defaultFormatter": "matklad.rust-analyzer"
|
|
//"editor.defaultFormatter": null
|
|
},
|
|
"rust-analyzer.inlayHints.enable": false
|
|
}
|