feat: consider jsonld as json

server
iGor milhit 2018-03-01 15:00:20 +01:00
parent 1506fc3f05
commit b516ede8ce
No known key found for this signature in database
GPG Key ID: 2674D83517E4DD21
1 changed files with 3 additions and 1 deletions

View File

@ -43,12 +43,14 @@ set ruler
set modeline set modeline
" Markdown " Markdown
" `.md` for markdown files
au FileType markdown set wrap au FileType markdown set wrap
au FileType markdown set nocursorline au FileType markdown set nocursorline
au FileType markdown set linebreak au FileType markdown set linebreak
au FileType markdown set colorcolumn& au FileType markdown set colorcolumn&
" Consider `.jsonld` as JSON
autocmd BufNewFile,BufRead *.jsonld setfiletype json
" fold " fold
" Type de fold si c'est du JSON " Type de fold si c'est du JSON
autocmd FileType json setlocal foldmethod=syntax autocmd FileType json setlocal foldmethod=syntax