mirror of
https://github.com/lifepillar/vim-solarized8.git
synced 2025-12-10 15:57:02 +00:00
Use new comment symbols for templates.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
auxfile scripts/@shortname.sh
|
||||
#!/bin/sh
|
||||
# Modify 256-color palette in supported terminals
|
||||
# Script adapted from https://github.com/chriskempson/base16-shell
|
||||
; Modify 256-color palette in supported terminals
|
||||
; Script adapted from https://github.com/chriskempson/base16-shell
|
||||
set -o errexit
|
||||
|
||||
hex2rgb() {
|
||||
@@ -51,21 +51,21 @@ printf $printf_template @term256blue $(hex2rgb "@guiblue")
|
||||
printf $printf_template @term256cyan $(hex2rgb "@guicyan")
|
||||
printf $printf_template @term256green $(hex2rgb "@guigreen")
|
||||
|
||||
# foreground / background / cursor color
|
||||
# if [ -n "$ITERM_SESSION_ID" ]; then
|
||||
# # iTerm2 proprietary escape codes
|
||||
# printf $printf_template_custom Pg 93a1a1 # forground
|
||||
# printf $printf_template_custom Ph 002b36 # background
|
||||
# printf $printf_template_custom Pi 93a1a1 # bold color
|
||||
# printf $printf_template_custom Pj 586e75 # selection color
|
||||
# printf $printf_template_custom Pk 93a1a1 # selected text color
|
||||
# printf $printf_template_custom Pl 93a1a1 # cursor
|
||||
# printf $printf_template_custom Pm 002b36 # cursor text
|
||||
# else
|
||||
# printf $printf_template_var 10 $color_foreground
|
||||
# printf $printf_template_var 11 $color_background
|
||||
# printf $printf_template_var 12 $color_cursor
|
||||
# fi
|
||||
; foreground / background / cursor color
|
||||
; if [ -n "$ITERM_SESSION_ID" ]; then
|
||||
; # iTerm2 proprietary escape codes
|
||||
; printf $printf_template_custom Pg 93a1a1 # forground
|
||||
; printf $printf_template_custom Ph 002b36 # background
|
||||
; printf $printf_template_custom Pi 93a1a1 # bold color
|
||||
; printf $printf_template_custom Pj 586e75 # selection color
|
||||
; printf $printf_template_custom Pk 93a1a1 # selected text color
|
||||
; printf $printf_template_custom Pl 93a1a1 # cursor
|
||||
; printf $printf_template_custom Pm 002b36 # cursor text
|
||||
; else
|
||||
; printf $printf_template_var 10 $color_foreground
|
||||
; printf $printf_template_var 11 $color_background
|
||||
; printf $printf_template_var 12 $color_cursor
|
||||
; fi
|
||||
|
||||
unset printf_template
|
||||
unset printf_template_var
|
||||
|
||||
Reference in New Issue
Block a user