aboutsummaryrefslogblamecommitdiff
path: root/vim/after/ftplugin/markdown.vim
blob: 3c97dd971407b86dfecc9136714c5c3e77c9d4d5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                                                            

        
 
                                                                
                            



                                       
" Extra configuration for Markdown documents
if &filetype != 'markdown' || &compatible || v:version < 700
  finish
endif

" Spellcheck documents we're actually editing (not just viewing)
if &modifiable && !&readonly
  setlocal spell
  let b:undo_ftplugin = b:undo_ftplugin
        \ . '|setlocal spell<'
endif