1
0
forked from aniani/vim

patch 8.2.3049: JSON patch file not recognized

Problem:    JSON patch file not recognized.
Solution:   Recognize json-patch as json. (Kevin Locke, closes #8450)
This commit is contained in:
Kevin Locke
2021-06-25 21:54:25 +02:00
committed by Bram Moolenaar
parent 22480d147f
commit 6582e230a0
3 changed files with 6 additions and 1 deletions

View File

@@ -855,6 +855,9 @@ au BufNewFile,BufRead *.jov,*.j73,*.jovial setf jovial
" JSON
au BufNewFile,BufRead *.json,*.jsonp,*.webmanifest setf json
" JSON Patch (RFC 6902)
au BufNewFile,BufRead *.json-patch setf json
" Jupyter Notebook is also json
au BufNewFile,BufRead *.ipynb setf json