mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 08:10:43 +01:00
feat(git): add helpful configs
This commit is contained in:
parent
3ea99dd18a
commit
2eb3764b31
10 changed files with 94 additions and 48 deletions
|
|
@ -8,12 +8,12 @@ adjust-cell-height = 50%
|
|||
adjust-underline-position = 5
|
||||
|
||||
command = /run/current-system/sw/bin/fish -l
|
||||
shell-integration = fish
|
||||
shell-integration-features = cursor, sudo
|
||||
|
||||
macos-titlebar-tabs = true
|
||||
macos-option-as-alt = true
|
||||
|
||||
window-step-resize = true
|
||||
window-padding-x = 15
|
||||
window-padding-y = 15
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
"denoland.vscode-deno"
|
||||
"dprint.dprint"
|
||||
"dotjoshjohnson.xml"
|
||||
"eamodio.gitlens"
|
||||
# "eamodio.gitlens"
|
||||
"editorconfig.editorconfig"
|
||||
# "enkia.tokyo-night"
|
||||
"esbenp.prettier-vscode"
|
||||
|
|
@ -46,6 +46,7 @@
|
|||
"unifiedjs.vscode-mdx"
|
||||
"usernamehw.errorlens"
|
||||
"vue.volar"
|
||||
"waderyan.gitblame"
|
||||
"xaver.clang-format"
|
||||
"yoavbls.pretty-ts-errors"
|
||||
];
|
||||
|
|
@ -54,8 +55,8 @@ in {
|
|||
enable = true;
|
||||
package = pkgs.stdenv.mkDerivation {
|
||||
pname = "vscode";
|
||||
version = "1.86.2";
|
||||
src = pkgs.emptyDirectory;
|
||||
version = "1.87.2";
|
||||
dontUnpack = true;
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
'';
|
||||
|
|
@ -74,7 +75,7 @@ in {
|
|||
|
||||
"catppuccin.boldKeywords" = false;
|
||||
"catppuccin.italicKeywords" = true;
|
||||
"catppuccin.accentColor" = "sky";
|
||||
"catppuccin.accentColor" = "sapphire";
|
||||
"catppuccin.workbenchMode" = "flat";
|
||||
"catppuccin.customUIColors" = {
|
||||
"all" = {
|
||||
|
|
@ -95,6 +96,9 @@ in {
|
|||
"diffEditor.ignoreTrimWhitespace" = false;
|
||||
"gitlens.showWelcomeOnInstall" = false;
|
||||
|
||||
"gitblame.inlineMessageEnabled" = true;
|
||||
"gitblame.inlineMessageFormat" = "\${author.name} · \${time.ago} · \${commit.summary,120}";
|
||||
|
||||
"editor.fontFamily" = "\"Ryan Mono\", \"Symbols Nerd Font\", \"Apple Color Emoji\", monospace";
|
||||
"editor.fontLigatures" = true;
|
||||
# "editor.fontLigatures" = "'calt', 'ss01'";
|
||||
|
|
@ -146,9 +150,9 @@ in {
|
|||
"vscord.status.state.text.editing" = "Working on {file_name}{file_extension}";
|
||||
"vscord.status.buttons.button1.enabled" = false;
|
||||
|
||||
"gitlens.defaultTimeFormat" = "HH=mm";
|
||||
"gitlens.defaultDateShortFormat" = "YYYY/MM/DD";
|
||||
"gitlens.defaultDateFormat" = null;
|
||||
# "gitlens.defaultTimeFormat" = "HH=mm";
|
||||
# "gitlens.defaultDateShortFormat" = "YYYY/MM/DD";
|
||||
# "gitlens.defaultDateFormat" = null;
|
||||
|
||||
"[python]"."editor.tabSize" = 4;
|
||||
"[python]"."editor.defaultFormatter" = "charliermarsh.ruff";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue