From a4ae701364fa69f6f6f30c325c331554b7ba7d23 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Wed, 5 Jan 2022 14:32:34 +0000 Subject: [PATCH] Force 256 colours for builtin_gui --- vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index b6dd10a..43424c0 100644 --- a/vimrc +++ b/vimrc @@ -118,7 +118,9 @@ if has('eval') let g:org_tag_column=78 let g:tempus_enforce_background_color=1 " Set colour levels for different terminals. - if &term == 'xterm-256color' + if &term == 'builtin_gui' + set t_Co=256 + elseif &term == 'xterm-256color' set t_Co=256 elseif &term == 'xterm' set t_Co=256