From 86ea6a2c265b35f711464c7a7250f7e9810dc2d6 Mon Sep 17 00:00:00 2001 From: Dmitry N <39387797+Gotoro@users.noreply.github.com> Date: Fri, 11 Oct 2024 13:24:05 +0300 Subject: [PATCH] Set termguicolors if vim is compiled with it --- vimrcs/filetypes.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrcs/filetypes.vim b/vimrcs/filetypes.vim index 0f764f37..271999f5 100644 --- a/vimrcs/filetypes.vim +++ b/vimrcs/filetypes.vim @@ -60,7 +60,7 @@ au FileType gitcommit call setpos('.', [0, 1, 1, 0]) " => Shell section """""""""""""""""""""""""""""" if exists('$TMUX') - if has('nvim') + if has('nvim') || has('termguicolors') set termguicolors else set term=screen-256color