Download:
child 240:728bcd733718
parent 238:1d15848101d6
239:f88b0b9181eb
Anton Shestakov <av6@dwimlabs.net>, Sat, 26 Nov 2022 01:23:27 +0400
.vimrc: set termguicolors if $COLORTERM says it's possible

1 файлов изменено, 5 вставок(+), 0 удалений(-) [+]
.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc Sat Nov 26 01:19:02 2022 +0400
+++ b/.vimrc Sat Nov 26 01:23:27 2022 +0400
@@ -126,6 +126,11 @@
let g:ansible_attribute_highlight="ab"
let g:ansible_extra_keywords_highlight=1
+if $COLORTERM == 'truecolor'
+ " uses "cterm" attributes on vim, "gui" attributes on neovim
+ set termguicolors
+endif
+
" molokai color scheme
let g:molokai_original=1
let g:rehash256=0