diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-06-26 11:37:43 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-06-26 11:37:57 -0400 |
commit | eb7e7ad882aedc2204a46289f4b66996e835697b (patch) | |
tree | 5b95aa1d4444e8bbb573154357b57e61d7bf5bd7 /runtime | |
parent | 750ad1884586628c5aa7fca7a23411035ce26a42 (diff) | |
download | rneovim-eb7e7ad882aedc2204a46289f4b66996e835697b.tar.gz rneovim-eb7e7ad882aedc2204a46289f4b66996e835697b.tar.bz2 rneovim-eb7e7ad882aedc2204a46289f4b66996e835697b.zip |
vim-patch:8.2.3049: JSON patch file not recognized
Problem: JSON patch file not recognized.
Solution: Recognize json-patch as json. (Kevin Locke, closes vim/vim#8450)
https://github.com/vim/vim/commit/6582e230a0f6592287b1123c5fc3807d6fed997e
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index d449edfd02..b3bc282c89 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -858,6 +858,9 @@ au BufNewFile,BufRead *.jov,*.j73,*.jovial setf jovial " JSON au BufNewFile,BufRead *.json,*.jsonp,*.webmanifest setf json +" JSON Patch (RFC 6902) +au BufNewFile,BufRead *.json-patch setf json + " Jupyter Notebook is also json au BufNewFile,BufRead *.ipynb setf json |