Browse Source

Improve work with markdown

coc
Schneider 6 years ago
parent
commit
bf7da869d8
Signed by: schneider GPG Key ID: 3F50B02A50039F3B
  1. 5
      vim/ftplugin/markdown.vim

5
vim/ftplugin/markdown.vim

@ -1,10 +1,15 @@
" set textwidth for automatic line wrap " set textwidth for automatic line wrap
set tw=80 set tw=80
set spell spelllang=en_us set spell spelllang=en_us
set conceallevel=0
" disable real time linting, as it might be distracting " disable real time linting, as it might be distracting
let g:ale_lint_on_text_changed=0 let g:ale_lint_on_text_changed=0
let g:ale_fixers = {}
let g:ale_fixers['markdown'] = ['prettier']
let g:ale_fix_on_save = 1
" complete english words " complete english words
setlocal dictionary+=/usr/share/dict/words setlocal dictionary+=/usr/share/dict/words
" Remove this if you'd like to use fuzzy search " Remove this if you'd like to use fuzzy search

Loading…
Cancel
Save