Patch 8.2.3469
Problem: Some files with json syntax are not recognized.
Solution: Add a few file patterns. (Emiliano Ruiz Carletti, closes #8947)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-8.2.3468/runtime/filetype.vim 2021-10-03 11:46:02.575517682
+0100
--- runtime/filetype.vim 2021-10-03 20:07:52.056837120 +0100
***************
*** 876,881 ****
--- 876,884 ----
" Jupyter Notebook is also json
au BufNewFile,BufRead *.ipynb setf json
+ " Other files that look like json
+ au BufNewFile,BufRead .babelrc,.eslintrc,.prettierrc,.firebaserc setf json
+
" JSONC
au BufNewFile,BufRead *.jsonc setf jsonc
*** ../vim-8.2.3468/src/testdir/test_filetype.vim 2021-10-03
11:46:02.575517682 +0100
--- src/testdir/test_filetype.vim 2021-10-03 20:08:43.825687435 +0100
***************
*** 259,265 ****
\ 'jgraph': ['file.jgr'],
\ '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'],
\ 'julia': ['file.jl'],
--- 259,265 ----
\ 'jgraph': ['file.jgr'],
\ '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'],
\ 'jsonc': ['file.jsonc'],
\ 'jsp': ['file.jsp'],
\ 'julia': ['file.jl'],
*** ../vim-8.2.3468/src/version.c 2021-10-03 19:29:44.279938580 +0100
--- src/version.c 2021-10-03 20:10:28.483462958 +0100
***************
*** 759,760 ****
--- 759,762 ----
{ /* Add new patch number below this line */
+ /**/
+ 3469,
/**/
--
I AM THANKFUL...
...for a lawn that needs mowing, windows that need cleaning
and gutters that need fixing because it means I have a home.
/// 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/20211003191149.7FCD9C80053%40pakwach.