From 83e8870e617b50c4e1284ccbbab82a517b6c97c1 Mon Sep 17 00:00:00 2001
From: Daniel Wennberg <daniel.wennberg@gmail.com>
Date: Wed, 5 Sep 2018 05:58:36 -0700
Subject: Add ansi colors for vim terminal

---
 templates/default.mustache | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

(limited to 'templates')

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
-- 
cgit v1.2.3