From 175751ba8cebf560ddd8651a7f20c07854a19493 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Thu, 19 Jul 2018 14:06:28 +0200 Subject: nvim: move colors around MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- nvim/init.vim | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) (limited to 'nvim') diff --git a/nvim/init.vim b/nvim/init.vim index 343f838..ca991da 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -59,6 +59,17 @@ set copyindent set listchars=tab:»·,trail:·,nbsp:◊ set list +" Colors +colorscheme base16-atelier-dune + +" Color spaces at end of lines bright red for visibility +highlight ExtraWhitespace ctermbg=red guibg=red +match ExtraWhitespace /\s\+$/ +autocmd BufWinEnter * match ExtraWhitespace /\s\+$/ +autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@ px :Denite buffer file_mru file_rec noremap pg :Denite grep -""" -" Syntax highlighting -" - -" Colorscheme -colorscheme base16-atelier-dune - -" Color spaces at end of lines bright red for visibility -highlight ExtraWhitespace ctermbg=red guibg=red -match ExtraWhitespace /\s\+$/ -autocmd BufWinEnter * match ExtraWhitespace /\s\+$/ -autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@