To: vim_dev@googlegroups.com Subject: Patch 8.2.2990 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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. -- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///