summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim')
-rw-r--r--nvim/nvim/ftplugin/markdown.vim6
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