commit 4e725c13b36f9426d4bfb2bb6a1a018a0bbfcc55
parent 357c4f76ac37c9522579411cb6b9af0306ff0caf
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Tue, 28 Jan 2020 02:42:29 +0100
vim: spellcheck markdown files
Former-commit-id: 7a5b0dd8051a0c59f22f789c09f6fa85703e3218
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/vim/after/ftplugin/markdown.vim b/vim/after/ftplugin/markdown.vim
@@ -37,6 +37,7 @@ nnoremap <buffer> <leader><CR> :silent !open "%<.pdf"<CR>:redraw!<CR>
compiler markdown
setlocal wrap
setlocal conceallevel=2
+setlocal spell
" Undo_ftplugin
if !exists('b:undo_ftplugin')
@@ -45,4 +46,4 @@ endif
let b:undo_ftplugin .= '| imapc <buffer>'
let b:undo_ftplugin .= '| nmapc <buffer>'
" let b:undo_ftplugin .= '| execute "au! markdown_autocmds * <buffer>"'
-let b:undo_ftplugin .= '| setlocal makeprg< conceallevel< wrap<'
+let b:undo_ftplugin .= '| setlocal makeprg< conceallevel< wrap< spell<'