aboutsummaryrefslogtreecommitdiff
path: root/colors/base16-ia-dark.vim
diff options
context:
space:
mode:
Diffstat (limited to 'colors/base16-ia-dark.vim')
-rw-r--r--colors/base16-ia-dark.vim31
1 files changed, 25 insertions, 6 deletions
diff --git a/colors/base16-ia-dark.vim b/colors/base16-ia-dark.vim
index 7fa7e9d..e5747c4 100644
--- a/colors/base16-ia-dark.vim
+++ b/colors/base16-ia-dark.vim
@@ -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 = [
+ \ "#1a1a1a",
+ \ "#d88568",
+ \ "#83a471",
+ \ "#b99353",
+ \ "#8eccdd",
+ \ "#b98eb2",
+ \ "#7c9cae",
+ \ "#cccccc",
+ \ "#767676",
+ \ "#d88568",
+ \ "#83a471",
+ \ "#b99353",
+ \ "#8eccdd",
+ \ "#b98eb2",
+ \ "#7c9cae",
+ \ "#f8f8f8",
+ \ ]
endif
" Theme setup
@@ -131,8 +150,8 @@ let g:colors_name = "base16-ia-dark"
" Highlighting function
" Optional variables are attributes and guisp
function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...)
- let a:attr = get(a:, 1, "")
- let a:guisp = get(a:, 2, "")
+ let l:attr = get(a:, 1, "")
+ let l:guisp = get(a:, 2, "")
if a:guifg != ""
exec "hi " . a:group . " guifg=#" . a:guifg
@@ -146,11 +165,11 @@ function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...)
if a:ctermbg != ""
exec "hi " . a:group . " ctermbg=" . a:ctermbg
endif
- if a:attr != ""
- exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
+ if l:attr != ""
+ exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr
endif
- if a:guisp != ""
- exec "hi " . a:group . " guisp=#" . a:guisp
+ if l:guisp != ""
+ exec "hi " . a:group . " guisp=#" . l:guisp
endif
endfunction