vscode: overlay github codespaces extension
Signed-off-by: cy <cy@cy7.sh>
This commit is contained in:
parent
67048909a9
commit
4f015ecb45
3 changed files with 19 additions and 2 deletions
|
@ -11,6 +11,7 @@
|
||||||
jnoortheen.nix-ide
|
jnoortheen.nix-ide
|
||||||
editorconfig.editorconfig
|
editorconfig.editorconfig
|
||||||
github.github-vscode-theme
|
github.github-vscode-theme
|
||||||
|
github.codespaces
|
||||||
];
|
];
|
||||||
userSettings = {
|
userSettings = {
|
||||||
"workbench.colorTheme" = "GitHub Dark Default";
|
"workbench.colorTheme" = "GitHub Dark Default";
|
||||||
|
@ -18,10 +19,10 @@
|
||||||
"nix.enableLanguageServer" = true;
|
"nix.enableLanguageServer" = true;
|
||||||
"nix.serverPath" = "nixd";
|
"nix.serverPath" = "nixd";
|
||||||
"editor.fontFamily" = "IBM Plex Mono";
|
"editor.fontFamily" = "IBM Plex Mono";
|
||||||
"editor.fontSize" = 15;
|
"editor.fontSize" = 16;
|
||||||
"editor.wordWrap" = "on";
|
"editor.wordWrap" = "on";
|
||||||
|
|
||||||
# vim mode
|
# vim mode settings
|
||||||
"vim.handleKeys" = {
|
"vim.handleKeys" = {
|
||||||
"<C-b>" = false; # file tree toggle
|
"<C-b>" = false; # file tree toggle
|
||||||
};
|
};
|
||||||
|
@ -32,6 +33,7 @@
|
||||||
"silent" = true;
|
"silent" = true;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
"workbench.startupEditor" = "none";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,7 @@ let
|
||||||
overlays = [
|
overlays = [
|
||||||
./conduwuit
|
./conduwuit
|
||||||
./attic
|
./attic
|
||||||
|
./vscode.nix
|
||||||
];
|
];
|
||||||
importedOverlays = map (m: import m) overlays;
|
importedOverlays = map (m: import m) overlays;
|
||||||
in
|
in
|
||||||
|
|
14
overlay/vscode.nix
Normal file
14
overlay/vscode.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
final: prev: {
|
||||||
|
vscode-extensions = prev.vscode-extensions // {
|
||||||
|
github = prev.vscode-extensions.github // {
|
||||||
|
codespaces = prev.vscode-utils.buildVscodeMarketplaceExtension {
|
||||||
|
mktplcRef = {
|
||||||
|
publisher = "github";
|
||||||
|
name = "codespaces";
|
||||||
|
version = "1.17.3";
|
||||||
|
hash = "sha256-idJFYHJ4yeqpFZBX55Y0v1yfzgqyhS0MrC4yIto7i7w=";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue