Mercurial > vim
comparison runtime/filetype.vim @ 27326:234516a43f33 v8.2.4191
patch 8.2.4191: json5 files are not recognized
Commit: https://github.com/vim/vim/commit/e15ebeffb35da4bb7d9054358671735ce6988c28
Author: =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com>
Date: Sun Jan 23 13:05:39 2022 +0000
patch 8.2.4191: json5 files are not recognized
Problem: json5 files are not recognized.
Solution: Add a pattern for json5 files. (closes https://github.com/vim/vim/issues/9601)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 23 Jan 2022 14:15:03 +0100 |
parents | 3649b5a6b1b6 |
children | 9ef98290c41a |
comparison
equal
deleted
inserted
replaced
27325:a0b487fd485e | 27326:234516a43f33 |
---|---|
886 au BufNewFile,BufRead *.jov,*.j73,*.jovial setf jovial | 886 au BufNewFile,BufRead *.jov,*.j73,*.jovial setf jovial |
887 | 887 |
888 " JSON | 888 " JSON |
889 au BufNewFile,BufRead *.json,*.jsonp,*.webmanifest setf json | 889 au BufNewFile,BufRead *.json,*.jsonp,*.webmanifest setf json |
890 | 890 |
891 " JSON5 | |
892 au BufNewFile,BufRead *.json5 setf json5 | |
893 | |
891 " JSON Patch (RFC 6902) | 894 " JSON Patch (RFC 6902) |
892 au BufNewFile,BufRead *.json-patch setf json | 895 au BufNewFile,BufRead *.json-patch setf json |
893 | 896 |
894 " Jupyter Notebook is also json | 897 " Jupyter Notebook is also json |
895 au BufNewFile,BufRead *.ipynb setf json | 898 au BufNewFile,BufRead *.ipynb setf json |