aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Wennberg <daniel.wennberg@gmail.com>2018-09-05 05:58:36 -0700
committerDaniel Wennberg <daniel.wennberg@gmail.com>2018-10-25 18:49:46 -0700
commit83e8870e617b50c4e1284ccbbab82a517b6c97c1 (patch)
treef7b2c91ca0a7e28320ec2e93377cf2cec2c55b4c /templates
parent7e9af12d680d81cc1277c07ef5acee8c83828f3f (diff)
Add ansi colors for vim terminal
Diffstat (limited to 'templates')
-rw-r--r--templates/default.mustache19
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/default.mustache b/templates/default.mustache
index 28b0c41..340394e 100644
--- a/templates/default.mustache
+++ b/templates/default.mustache
@@ -121,6 +121,25 @@ if has("nvim")
let g:terminal_color_background = g:terminal_color_7
let g:terminal_color_foreground = g:terminal_color_2
endif
+elseif has('terminal')
+ let g:terminal_ansi_colors = [
+ \ "#{{base00-hex}}",
+ \ "#{{base08-hex}}",
+ \ "#{{base0B-hex}}",
+ \ "#{{base0A-hex}}",
+ \ "#{{base0D-hex}}",
+ \ "#{{base0E-hex}}",
+ \ "#{{base0C-hex}}",
+ \ "#{{base05-hex}}",
+ \ "#{{base03-hex}}",
+ \ "#{{base08-hex}}",
+ \ "#{{base0B-hex}}",
+ \ "#{{base0A-hex}}",
+ \ "#{{base0D-hex}}",
+ \ "#{{base0E-hex}}",
+ \ "#{{base0C-hex}}",
+ \ "#{{base07-hex}}",
+ \ ]
endif
" Theme setup