feat: specific wrap settings for md
parent
6e1bb0d414
commit
869cc89254
9
init.vim
9
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']
|
||||
|
|
Loading…
Reference in New Issue