mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
vscode: use prettier
This commit is contained in:
parent
92f224fef6
commit
7bbb6307c4
3 changed files with 9 additions and 0 deletions
5
.editorconfig
Normal file
5
.editorconfig
Normal file
|
@ -0,0 +1,5 @@
|
|||
root = true
|
||||
|
||||
[*.json]
|
||||
indent_style = space
|
||||
indent_size = 4
|
|
@ -63,6 +63,7 @@ with lib;
|
|||
|
||||
(vscode-with-extensions.override {
|
||||
vscodeExtensions = with pkgs.vscode-extensions; [
|
||||
esbenp.prettier-vscode
|
||||
jnoortheen.nix-ide
|
||||
ms-azuretools.vscode-docker
|
||||
ms-python.python
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
{
|
||||
"[nix]": { "editor.defaultFormatter": "jnoortheen.nix-ide" },
|
||||
"[python]": { "editor.defaultFormatter": "ms-python.python" },
|
||||
"diffEditor.renderSideBySide": false,
|
||||
"editor.cursorSurroundingLines": 9,
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"editor.formatOnSave": true,
|
||||
"editor.renderFinalNewline": "off",
|
||||
"editor.scrollBeyondLastLine": false,
|
||||
|
|
Loading…
Reference in a new issue