Browse Source

now autocolors in nvim

master
Marc 4 years ago
parent
commit
2679c94e6c
1 changed files with 9 additions and 0 deletions
  1. 9
      .config/nvim/init.vim

9
.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

Loading…
Cancel
Save