vim-patch:8.2.2990: Jupyter Notebook files are not recognized

Problem:    Jupyter Notebook files are not recognized.
Solution:   Recognize *.ipynb. (closes vim/vim#8375)
2e66b0d137
This commit is contained in:
Jan Edmund Lazo 2021-06-13 14:03:07 -04:00
parent ac18e26f57
commit 8f4ba0a46b
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15
2 changed files with 4 additions and 1 deletions

View File

@ -851,6 +851,9 @@ au BufNewFile,BufRead *.jov,*.j73,*.jovial setf jovial
" 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

View File

@ -257,7 +257,7 @@ let s:filename_checks = {
\ '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'],
\ 'json': ['file.json', 'file.jsonp', 'file.webmanifest', 'Pipfile.lock', 'file.ipynb'],
\ 'jsp': ['file.jsp'],
\ 'kconfig': ['Kconfig', 'Kconfig.debug', 'Kconfig.file'],
\ 'kivy': ['file.kv'],