feat: consider jsonld as json
parent
1506fc3f05
commit
b516ede8ce
4
init.vim
4
init.vim
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue