1
0
forked from aniani/vim

patch 8.2.4191: json5 files are not recognized

Problem:    json5 files are not recognized.
Solution:   Add a pattern for json5 files. (closes #9601)
This commit is contained in:
=?UTF-8?q?Dundar=20G=C3=B6c?=
2022-01-23 13:05:39 +00:00
committed by Bram Moolenaar
parent 206919191f
commit e15ebeffb3
3 changed files with 6 additions and 0 deletions

View File

@@ -888,6 +888,9 @@ au BufNewFile,BufRead *.jov,*.j73,*.jovial setf jovial
" JSON
au BufNewFile,BufRead *.json,*.jsonp,*.webmanifest setf json
" JSON5
au BufNewFile,BufRead *.json5 setf json5
" JSON Patch (RFC 6902)
au BufNewFile,BufRead *.json-patch setf json