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']