From bf7da869d8415160015518c4faa36938162538b4 Mon Sep 17 00:00:00 2001 From: Marcel Schneider Date: Wed, 10 Apr 2019 10:10:54 +0200 Subject: [PATCH] Improve work with markdown --- vim/ftplugin/markdown.vim | 5 +++++ 1 file changed, 5 insertions(+) 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