X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/6ce8e791f19869586ff422d661d430b4aee9856e..7b58c6b0f14025d924fa7e011f3056887ea43f2a:/templates/_terminal.colortemplate diff --git a/templates/_terminal.colortemplate b/templates/_terminal.colortemplate index 7571367..3bcc6e4 100644 --- a/templates/_terminal.colortemplate +++ b/templates/_terminal.colortemplate @@ -1,24 +1,24 @@ # vim: ft=colortemplate verbatim -if has('terminal') - let g:terminal_color_0 = '@guibg0' - let g:terminal_color_8 = '@guibrightblack' - let g:terminal_color_1 = '@guired' - let g:terminal_color_9 = '@guibrightred' - let g:terminal_color_2 = '@guigreen' - let g:terminal_color_10 = '@guibrightgreen' - let g:terminal_color_3 = '@guiyellow' - let g:terminal_color_11 = '@guibrightyellow' - let g:terminal_color_4 = '@guiblue' - let g:terminal_color_12 = '@guibrightblue' - let g:terminal_color_5 = '@guimagenta' - let g:terminal_color_13 = '@guibrightmagenta' - let g:terminal_color_6 = '@guicyan' - let g:terminal_color_14 = '@guibrightcyan' - let g:terminal_color_7 = '@guifg0' - let g:terminal_color_15 = '@guifg2' -endif +let g:terminal_ansi_colors = [ + \ '@guibg0', + \ '@guired', + \ '@guigreen', + \ '@guiyellow', + \ '@guiblue', + \ '@guimagenta', + \ '@guicyan', + \ '@guifg0', + \ '@guibg0', + \ '@guired', + \ '@guigreen', + \ '@guiyellow', + \ '@guiblue', + \ '@guimagenta', + \ '@guicyan', + \ '@guifg2' +\ ] endverbatim TermCursor -> Cursor TermCursorNC bg1 fg1