Patch 8.2.2990
Problem: Jupyter Notebook files are not recognized.
Solution: Recognize *.ipynb. (closes #8375)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-8.2.2989/runtime/filetype.vim 2021-06-06 20:15:49.880755525
+0200
--- runtime/filetype.vim 2021-06-13 16:58:53.807627858 +0200
***************
*** 855,860 ****
--- 855,863 ----
" JSON
au BufNewFile,BufRead *.json,*.jsonp,*.webmanifest setf json
+ " Jupyter Notebook is also json
+ au BufNewFile,BufRead *.ipynb setf json
+
" Kixtart
au BufNewFile,BufRead *.kix setf kix
*** ../vim-8.2.2989/src/testdir/test_filetype.vim 2021-06-06
20:15:49.880755525 +0200
--- src/testdir/test_filetype.vim 2021-06-13 16:59:16.595557104 +0200
***************
*** 257,263 ****
\ '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.webmanifest', 'Pipfile.lock'],
\ 'jsp': ['file.jsp'],
\ 'kconfig': ['Kconfig', 'Kconfig.debug', 'Kconfig.file'],
\ 'kivy': ['file.kv'],
--- 257,263 ----
\ '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.webmanifest', 'Pipfile.lock',
'file.ipynb'],
\ 'jsp': ['file.jsp'],
\ 'kconfig': ['Kconfig', 'Kconfig.debug', 'Kconfig.file'],
\ 'kivy': ['file.kv'],
*** ../vim-8.2.2989/src/version.c 2021-06-13 15:38:55.574605083 +0200
--- src/version.c 2021-06-13 17:00:42.859292146 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2990,
/**/
--
It is too bad that the speed of light hasn't kept pace with the
changes in CPU speed and network bandwidth. -- <[email protected]>
/// 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/202106131503.15DF3ftv616263%40masaka.moolenaar.net.