From b516ede8ce38f15699c0d917c402720946cbdf85 Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Thu, 1 Mar 2018 15:00:20 +0100 Subject: [PATCH] feat: consider jsonld as json --- init.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.vim b/init.vim index e668cab..3df2df8 100644 --- a/init.vim +++ b/init.vim @@ -43,12 +43,14 @@ set ruler set modeline " Markdown -" `.md` for markdown files au FileType markdown set wrap au FileType markdown set nocursorline au FileType markdown set linebreak au FileType markdown set colorcolumn& +" Consider `.jsonld` as JSON +autocmd BufNewFile,BufRead *.jsonld setfiletype json + " fold " Type de fold si c'est du JSON autocmd FileType json setlocal foldmethod=syntax