From 339515bd81ab35a3c33cc94abc07075cdc6ad811 Mon Sep 17 00:00:00 2001 From: Sijmen Schoon Date: Fri, 23 Nov 2018 15:02:01 +0100 Subject: [PATCH] vim: Change color scheme to light --- config/nvim/init.vim | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/config/nvim/init.vim b/config/nvim/init.vim index b7fe405..99ce4a6 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -4,6 +4,7 @@ call plug#begin("~/.nvim/bundle") Plug 'prabirshrestha/async.vim' " UI +Plug 'NLKNguyen/papercolor-theme' Plug 'Yggdroot/indentLine' Plug 'airblade/vim-gitgutter' Plug 'haya14busa/incsearch.vim' @@ -11,7 +12,6 @@ Plug 'mhinz/vim-startify' Plug 'ryanoasis/vim-devicons' Plug 'scrooloose/nerdtree' Plug 'sjl/gundo.vim' -Plug 'tomasiser/vim-code-dark' Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' @@ -71,7 +71,6 @@ if !exists('g:airline_symbols') let g:airline_symbols = {} endif -let g:airline_theme = 'codedark' let g:airline_left_sep = ' ' let g:airline_left_alt_sep = '| ' let g:airline_right_sep = '' @@ -91,8 +90,8 @@ let g:airline#extensions#tabline#show_tab_type = 0 " Syntax coloring syntax enable set synmaxcol=1024 -set background=dark -colorscheme codedark +set background=light +colorscheme PaperColor hi WarningMsg ctermbg=0 hi YcmErrorSign ctermbg=18 ctermfg=1 hi YcmWarningSign ctermbg=18 ctermfg=3 @@ -116,11 +115,13 @@ set shiftwidth=4 set expandtab set autoindent set cino=:0 -au FileType text,markdown setlocal textwidth=80 -au FileType python setlocal textwidth=79 nnoremap :let _s=@/:%s/\s\+$//e:let @/=_s:nohl " Trim trailing spaces set list listchars=tab:\ \ ,trail:•,precedes:…,extends:… +" Maximum line widths +au FileType text,markdown setlocal textwidth=80 +au FileType python setlocal textwidth=79 + " Line numbering set number