aboutsummaryrefslogtreecommitdiff
path: root/runtime/colors/torte.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/colors/torte.vim')
-rw-r--r--runtime/colors/torte.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/colors/torte.vim b/runtime/colors/torte.vim
index 92d1a6b3f0..bec681bb4e 100644
--- a/runtime/colors/torte.vim
+++ b/runtime/colors/torte.vim
@@ -17,6 +17,10 @@ let s:t_Co = &t_Co
if (has('termguicolors') && &termguicolors) || has('gui_running')
let g:terminal_ansi_colors = ['#000000', '#cd0000', '#00cd00', '#cdcd00', '#0000ee', '#cd00cd', '#00cdcd', '#e5e5e5', '#7f7f7f', '#ff0000', '#00ff00', '#ffff00', '#5c5cff', '#ff00ff', '#00ffff', '#ffffff']
+ " Nvim uses g:terminal_color_{0-15} instead
+ for i in range(g:terminal_ansi_colors->len())
+ let g:terminal_color_{i} = g:terminal_ansi_colors[i]
+ endfor
endif
hi! link Terminal Normal
hi! link LineNrAbove LineNr