From 83f7ff47de60712ac7cbaad1b431feae3e15a8b7 Mon Sep 17 00:00:00 2001 From: Edward Litherland-Smith Date: Fri, 26 Feb 2021 11:34:13 +0000 Subject: [PATCH] Add terminal ANSI colours so Vim term matches colourscheme --- vimrc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/vimrc b/vimrc index 5924a9f1..7fe0e7b8 100644 --- a/vimrc +++ b/vimrc @@ -13,6 +13,24 @@ if exists('+termguicolors') && ($COLORTERM == "24bit" || $COLORTERM == "truecolo let &t_8f = "\[38;2;%lu;%lu;%lum" let &t_8b = "\[48;2;%lu;%lu;%lum" set termguicolors + let g:terminal_ansi_colors = [ + \ '#282c34', + \ '#e06c75', + \ '#98c379', + \ '#e5c07b', + \ '#61afef', + \ '#c678dd', + \ '#56b6c2', + \ '#dcdfe4', + \ '#282c34', + \ '#e06c75', + \ '#98c379', + \ '#e5c07b', + \ '#61afef', + \ '#c678dd', + \ '#56b6c2', + \ '#dcdfe4' + \ ] endif set cursorline set laststatus=2