From d8d1401a780f7ef0e79999d2fa67341568fa6918 Mon Sep 17 00:00:00 2001 From: jdhao Date: Mon, 19 Jul 2021 22:52:59 +0800 Subject: Move options to one place --- core/options.vim | 5 +++++ core/ui.vim | 7 ------- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'core') diff --git a/core/options.vim b/core/options.vim index 4a39f32..0150c2e 100644 --- a/core/options.vim +++ b/core/options.vim @@ -149,6 +149,11 @@ if executable('rg') set grepformat=%f:%l:%c:%m endif +" Enable true color support. Do not set this option if your terminal does not +" support true colors! For a comprehensive list of terminals supporting true +" colors, see https://github.com/termstandard/colors and https://gist.github.com/XVilka/8346728. +set termguicolors + " Set up cursor color and shape in various mode, ref: " https://github.com/neovim/neovim/wiki/FAQ#how-to-change-cursor-color-in-the-terminal set guicursor=n-v-c:block-Cursor/lCursor,i-ci-ve:ver25-Cursor2/lCursor2,r-cr:hor20,o:hor20 diff --git a/core/ui.vim b/core/ui.vim index 5322a9e..aa31bf0 100644 --- a/core/ui.vim +++ b/core/ui.vim @@ -1,11 +1,4 @@ "{ UI-related settings -"{{ General settings about colors -" Enable true colors support. Do not set this option if your terminal does not -" support true colors! For a comprehensive list of terminals supporting true -" colors, see https://github.com/termstandard/colors and https://gist.github.com/XVilka/8346728. -set termguicolors -"}} - "{{ Colorscheme settings let s:my_theme_dict = {} -- cgit v1.2.3