From 306cee3761f5cb4ef6702ebd00bc4d7e77322e28 Mon Sep 17 00:00:00 2001 From: Ekaitz Zárraga Date: Sun, 4 Sep 2016 16:53:42 +0200 Subject: Grey colorcolumn --- nvim/nvim/ftplugin/markdown.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nvim') diff --git a/nvim/nvim/ftplugin/markdown.vim b/nvim/nvim/ftplugin/markdown.vim index f891b35..7af0f40 100644 --- a/nvim/nvim/ftplugin/markdown.vim +++ b/nvim/nvim/ftplugin/markdown.vim @@ -12,12 +12,12 @@ setlocal formatoptions-=l " Highlight where the lines are more than 80 characters wide setlocal colorcolumn=80 -highlight ColorColumn ctermbg=LightGreen +highlight ColorColumn ctermbg=DarkGrey " Auto-capitalize script augroup SENTENCES - au! - autocmd InsertCharPre * if &ft=='markdown' | if search('\v(%^|[.!?]\_s+|\_^\-\s|\_^title\:\s|\n\n)%#', 'bcnw') != 0 | let v:char = toupper(v:char) | endif | endif + au! + autocmd InsertCharPre * if &ft=='markdown' | if search('\v(%^|[.!?]\_s+|\_^\-\s|\_^title\:\s|\n\n)%#', 'bcnw') != 0 | let v:char = toupper(v:char) | endif | endif augroup END " Highlight spelling errors in red and underline -- cgit v1.2.3