feat: specific wrap settings for md

server
iGor milhit 2017-12-19 16:33:26 +01:00
parent 6e1bb0d414
commit 869cc89254
No known key found for this signature in database
GPG Key ID: 3E9D7C1605E40FCD
1 changed files with 6 additions and 3 deletions

View File

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