added vscode setting and keybinds

This commit is contained in:
Richie Cahill 2024-04-20 12:54:54 -04:00
parent 1005525931
commit a7e1266a9c
2 changed files with 16 additions and 1 deletions

View File

@ -1,2 +1,11 @@
[ [
{
"key": "shift+alt+f",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor"
},
{
"key": "alt+a d",
"command": "cSpell.addWordToWorkspaceSettings"
}
] ]

View File

@ -27,5 +27,11 @@
"redhat.telemetry.enabled": true, "redhat.telemetry.enabled": true,
// force the use of rust-analyzer from dev shell // force the use of rust-analyzer from dev shell
"rust-analyzer.server.path": "rust-analyzer", "rust-analyzer.server.path": "rust-analyzer",
"cSpell.userWords": ["syncthing"] "cSpell.userWords": ["Cahill", "syncthing"],
"gitlens.plusFeatures.enabled": false,
"cSpell.enableFiletypes": ["nix"],
"cSpell.enabled": true,
"[yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml"
}
} }