diff options
author | Izhak Jakov <izhakjakov> | 2021-07-03 13:09:37 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-03 13:09:37 +0200 |
commit | acbb4b5720fc27b8b07357b763ed4e5a944ae1da (patch) | |
tree | ad396a7a7b71fdbcec19f7b74615654c3bd09165 /runtime | |
parent | a26f56f67502c72d44c61afdede2206cdde47c17 (diff) | |
download | vim-git-acbb4b5720fc27b8b07357b763ed4e5a944ae1da.tar.gz |
patch 8.2.3085: JSONC files are not recognizedv8.2.3085
Problem: JSONC files are not recognized.
Solution: Recognize .jsonc files. (Izhak Jakov, closes #8500)
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 e38bc23de..952a9a66f 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -868,6 +868,9 @@ au BufNewFile,BufRead *.json-patch setf json " Jupyter Notebook is also json au BufNewFile,BufRead *.ipynb setf json +" JSONC +au BufNewFile,BufRead *.jsonc setf jsonc + " Kixtart au BufNewFile,BufRead *.kix setf kix |