diff options
author | Ekaitz Zárraga <ekaitz.zarraga@gmail.com> | 2016-09-04 16:53:42 +0200 |
---|---|---|
committer | Ekaitz Zárraga <ekaitz.zarraga@gmail.com> | 2016-09-04 16:53:42 +0200 |
commit | 306cee3761f5cb4ef6702ebd00bc4d7e77322e28 (patch) | |
tree | 75b9df15c314b83eb71e91d397512ad509300595 | |
parent | 30fcf06e16086a450c2b0f03155365550f5593b1 (diff) |
Grey colorcolumn
-rw-r--r-- | nvim/nvim/ftplugin/markdown.vim | 6 |
1 files changed, 3 insertions, 3 deletions
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 |