diff options
author | Kevin Locke <kevin@kevinlocke.name> | 2021-06-25 21:54:25 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-06-25 21:54:25 +0200 |
commit | 6582e230a0f6592287b1123c5fc3807d6fed997e (patch) | |
tree | ca430707fc6c532faa2c2707d4ca71c5a9509387 /runtime/filetype.vim | |
parent | 22480d147fe83cb31316d2dabc5c5f249477af15 (diff) |
patch 8.2.3049: JSON patch file not recognizedv8.2.3049
Problem: JSON patch file not recognized.
Solution: Recognize json-patch as json. (Kevin Locke, closes #8450)
Diffstat (limited to 'runtime/filetype.vim')
-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 04e2001176..496b58b313 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -855,6 +855,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 |