Commit 07ddf0b
Changed files (2)
home
linux
gui
vscode
profiles
home/linux/gui/vscode/profiles/default.nix
@@ -23,7 +23,14 @@ in {
"workbench.iconTheme" = "material-icon-theme";
"workbench.startupEditor" = "none";
# --- Extension Settings --- #
- "nix.formatterPath" = "alejandra";
+ "GitCommitPlugin.ShowEmoji" = false;
+ "GitCommitPlugin.MaxSubjectCharacters" = 25;
+ "github.copilot.advanced".useLanguageServer = true;
+ "nix.enableLanguageServer" = true;
+ "nix.serverSettings".nil.formatting.command = ["alejandra"];
+ "evenBetterToml.formatter.alignEntries" = true;
+ "evenBetterToml.formatter.alignComments" = true;
+ "evenBetterToml.formatter.allowedBlankLines" = 1;
# --- Update Settings --- #
"extensions.autoCheckUpdates" = false;
"extensions.autoUpdate" = false;
@@ -34,6 +41,7 @@ in {
"security.workspace.trust.untrustedFiles" = "open";
"window.newWindowProfile" = "Default";
"workbench.settings.applyToAllProfiles" = [
+ # Normal
"editor.fontSize"
"editor.fontLigatures"
"editor.guides.bracketPairs"
@@ -42,6 +50,15 @@ in {
"workbench.colorTheme"
"workbench.iconTheme"
"workbench.startupEditor"
+ # Extension
+ "GitCommitPlugin.ShowEmoji"
+ "GitCommitPlugin.MaxSubjectCharacters"
+ "github.copilot.advanced"
+ "nix.enableLanguageServer"
+ "nix.serverSettings"
+ "evenBetterToml.formatter.alignEntries"
+ "evenBetterToml.formatter.alignComments"
+ "evenBetterToml.formatter.allowedBlankLines"
];
};
home/linux/gui/vscode/baseExtensions.nix
@@ -1,29 +1,39 @@
-pkgs:
-with pkgs.vscode-extensions; [
- # Translation
- # ms-ceintl.vscode-language-pack-zh-hans
- w88975.code-translate
+pkgs: (with pkgs.vscode-extensions;
+ [
+ # Translation
+ # ms-ceintl.vscode-language-pack-zh-hans
+ w88975.code-translate
- # Appearance
- pkief.material-icon-theme
- catppuccin.catppuccin-vsc
+ # Appearance
+ pkief.material-icon-theme
+ catppuccin.catppuccin-vsc
- # Utils
- mhutchie.git-graph
- christian-kohler.path-intellisense
- usernamehw.errorlens
- shardulm94.trailing-spaces
- gruntfuggly.todo-tree
+ # Utils
+ mhutchie.git-graph
+ christian-kohler.path-intellisense
+ usernamehw.errorlens
+ shardulm94.trailing-spaces
+ gruntfuggly.todo-tree
- # LLM
- github.copilot
- github.copilot-chat
- rooveterinaryinc.roo-cline
+ # LLM
+ github.copilot
+ github.copilot-chat
- # Nix
- jnoortheen.nix-ide
+ # Nix
+ jnoortheen.nix-ide
- # Configuration languages
- tamasfe.even-better-toml
- redhat.vscode-yaml
-]
+ # Nushell
+ thenuprojectcontributors.vscode-nushell-lang
+
+ # Configuration languages
+ tamasfe.even-better-toml
+ redhat.vscode-yaml
+ ]
+ ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
+ {
+ name = "git-commit-plugin";
+ publisher = "redjue";
+ version = "1.5.0";
+ sha256 = "fOdeUuB4jFL0LvGsLcjz5EQslD8jRRGslbumMo3cZCs=";
+ }
+ ])