aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-06-13 14:03:07 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-06-13 15:27:24 -0400
commit8f4ba0a46becf631f00179264938f2be131945cd (patch)
treeb84bc341ee059a5f779b737d8f9904fc328c7ea8 /runtime
parentac18e26f574e7633184b1785852107c3ee9cf9a1 (diff)
downloadrneovim-8f4ba0a46becf631f00179264938f2be131945cd.tar.gz
rneovim-8f4ba0a46becf631f00179264938f2be131945cd.tar.bz2
rneovim-8f4ba0a46becf631f00179264938f2be131945cd.zip
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) https://github.com/vim/vim/commit/2e66b0d1373891f40e2561ccd2d3369de1614bcd
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 89cc1a8fc5..09a1d1d0e6 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -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