Patch 8.2.3085
Problem: JSONC files are not recognized.
Solution: Recognize .jsonc files. (Izhak Jakov, closes #8500)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-8.2.3084/runtime/filetype.vim 2021-06-26 12:02:51.484571740
+0200
--- runtime/filetype.vim 2021-07-03 13:01:03.683367056 +0200
***************
*** 868,873 ****
--- 868,876 ----
" Jupyter Notebook is also json
au BufNewFile,BufRead *.ipynb setf json
+ " JSONC
+ au BufNewFile,BufRead *.jsonc setf jsonc
+
" Kixtart
au BufNewFile,BufRead *.kix setf kix
*** ../vim-8.2.3084/src/testdir/test_filetype.vim 2021-06-26
12:02:51.484571740 +0200
--- src/testdir/test_filetype.vim 2021-07-03 13:01:03.683367056 +0200
***************
*** 260,265 ****
--- 260,266 ----
\ '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'],
+ \ 'jsonc': ['file.jsonc'],
\ 'jsp': ['file.jsp'],
\ 'kconfig': ['Kconfig', 'Kconfig.debug', 'Kconfig.file'],
\ 'kivy': ['file.kv'],
*** ../vim-8.2.3084/src/version.c 2021-07-03 11:58:08.373825923 +0200
--- src/version.c 2021-07-03 13:03:52.203069188 +0200
***************
*** 757,758 ****
--- 757,760 ----
{ /* Add new patch number below this line */
+ /**/
+ 3085,
/**/
--
If bankers can count, how come they have eight windows and
only four tellers?
/// 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/202107031111.163BBUTa2235001%40masaka.moolenaar.net.