Ver Fonte

Add bat config (plain style, syntax highlighting only)

Symlinks ~/.config/bat/config via setup.sh and opts the file into
the config/ allowlist in .gitignore. Uses --style=plain to keep
syntax highlighting while dropping line numbers, file headers, and
the grid.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Tom McKenzie há 3 semanas atrás
pai
commit
7cc08bf635
3 ficheiros alterados com 6 adições e 0 exclusões
  1. 2 0
      .gitignore
  2. 3 0
      config/bat/config
  3. 1 0
      setup.sh

+ 2 - 0
.gitignore

@@ -9,6 +9,8 @@ bak
 # files we've vetted as public-safe. Anything new under config/ stays private
 # until explicitly un-ignored here (guards against leaking app secrets).
 config/**
+!config/bat/
+!config/bat/config
 !config/ghostty/
 !config/ghostty/config
 !config/zed/

+ 3 - 0
config/bat/config

@@ -0,0 +1,3 @@
+# bat config — just syntax highlighting.
+# plain = no line numbers, no file headers, no grid/borders.
+--style="plain"

+ 1 - 0
setup.sh

@@ -30,6 +30,7 @@ link_config() {   # link_config <repo-path> <abs-dest>
     echo "Linked $1 -> $dest"
 }
 
+link_config config/bat/config        "$HOME/.config/bat/config"
 link_config config/ghostty/config    "$HOME/.config/ghostty/config"
 link_config config/zed/settings.json "$HOME/.config/zed/settings.json"
 link_config config/zed/keymap.json   "$HOME/.config/zed/keymap.json"