From 2679c94e6cedd74fd1abde81c46d14744fb700c6 Mon Sep 17 00:00:00 2001 From: Marc Date: Sat, 14 Mar 2020 09:23:19 +0000 Subject: [PATCH] now autocolors in nvim --- .config/nvim/init.vim | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index d9fec13..47f5af4 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -4,6 +4,7 @@ call plug#begin() Plug 'itchyny/lightline.vim' "Plug 'ap/vim-css-color' " doesn't work on all files +Plug 'chrisbra/colorizer' call plug#end() " themes sind im Unterordner ./colors/ @@ -11,6 +12,14 @@ colorscheme plastic "set t_Co=256 set termguicolors +"doesnt work +"let g:colorizer_auto_color = 1 +"workaround: +augroup autocolor + autocmd! + autocmd BufEnter,BufLeave * ColorHighlight +augroup END + set number " add line numbers set nocompatible " disable compatibility to vi set tabstop=4 " number of columns by tab