Patch 8.2.4191
Problem: json5 files are not recognized.
Solution: Add a pattern for json5 files. (closes #9601)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-8.2.4190/runtime/filetype.vim 2022-01-23 11:28:13.379203426
+0000
--- runtime/filetype.vim 2022-01-23 13:03:02.298165835 +0000
***************
*** 888,893 ****
--- 888,896 ----
" 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
*** ../vim-8.2.4190/src/testdir/test_filetype.vim 2022-01-23
11:28:13.379203426 +0000
--- src/testdir/test_filetype.vim 2022-01-23 13:03:02.298165835 +0000
***************
*** 265,270 ****
--- 265,271 ----
\ 'jovial': ['file.jov', 'file.j73', 'file.jovial'],
\ 'jproperties': ['file.properties', 'file.properties_xx',
'file.properties_xx_xx', 'some.properties_xx_xx_file'],
\ 'json': ['file.json', 'file.jsonp', 'file.json-patch',
'file.webmanifest', 'Pipfile.lock', 'file.ipynb', '.babelrc', '.eslintrc',
'.prettierrc', '.firebaserc', 'file.slnf'],
+ \ 'json5': ['file.json5'],
\ 'jsonc': ['file.jsonc'],
\ 'jsp': ['file.jsp'],
\ 'julia': ['file.jl'],
*** ../vim-8.2.4190/src/version.c 2022-01-23 12:42:51.837379056 +0000
--- src/version.c 2022-01-23 13:04:37.112346278 +0000
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 4191,
/**/
--
ROBIN: (warily) And if you get a question wrong?
ARTHUR: You are cast into the Gorge of Eternal Peril.
ROBIN: Oh ... wacho!
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220123130607.E20EE1C11B3%40moolenaar.net.