diff --git a/vim/ftplugin/markdown.vim b/vim/ftplugin/markdown.vim index 3de7d89..f5b46ee 100644 --- a/vim/ftplugin/markdown.vim +++ b/vim/ftplugin/markdown.vim @@ -1,10 +1,15 @@ " set textwidth for automatic line wrap set tw=80 set spell spelllang=en_us +set conceallevel=0 " disable real time linting, as it might be distracting 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 setlocal dictionary+=/usr/share/dict/words " Remove this if you'd like to use fuzzy search