From 869cc8925461f17a09be22a7509b25d69c2390eb Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Tue, 19 Dec 2017 16:33:26 +0100 Subject: [PATCH] feat: specific wrap settings for md --- init.vim | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/init.vim b/init.vim index 6506515..9e7fa30 100644 --- a/init.vim +++ b/init.vim @@ -42,6 +42,12 @@ set cursorline set ruler set modeline +" Markdown +" `.md` for markdown files +au FileType markdown set wrap +au FileType markdown set showbreak=↳\ +au FileType markdown set linebreak + " fold " Type de fold si c'est du JSON autocmd FileType json setlocal foldmethod=syntax @@ -54,9 +60,6 @@ let g:xml_syntax_folding=3 au FileType xml setlocal foldmethod=syntax autocmd FileType xml set foldlevel=1 -" `.md` for markdown files -au BufRead,BufNewFile *.md set filetype=markdown - " vim-pandoc " default languages grammar check :let g:pandoc#spell#default_langs = ['fr', 'en']