mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +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 {
|
(vscode-with-extensions.override {
|
||||||
vscodeExtensions = with pkgs.vscode-extensions; [
|
vscodeExtensions = with pkgs.vscode-extensions; [
|
||||||
|
esbenp.prettier-vscode
|
||||||
jnoortheen.nix-ide
|
jnoortheen.nix-ide
|
||||||
ms-azuretools.vscode-docker
|
ms-azuretools.vscode-docker
|
||||||
ms-python.python
|
ms-python.python
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
{
|
{
|
||||||
|
"[nix]": { "editor.defaultFormatter": "jnoortheen.nix-ide" },
|
||||||
|
"[python]": { "editor.defaultFormatter": "ms-python.python" },
|
||||||
"diffEditor.renderSideBySide": false,
|
"diffEditor.renderSideBySide": false,
|
||||||
"editor.cursorSurroundingLines": 9,
|
"editor.cursorSurroundingLines": 9,
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
"editor.renderFinalNewline": "off",
|
"editor.renderFinalNewline": "off",
|
||||||
"editor.scrollBeyondLastLine": false,
|
"editor.scrollBeyondLastLine": false,
|
||||||
|
|
Loading…
Reference in a new issue