summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorIzhak Jakov <izhakjakov>2021-07-03 13:09:37 +0200
committerBram Moolenaar <Bram@vim.org>2021-07-03 13:09:37 +0200
commitacbb4b5720fc27b8b07357b763ed4e5a944ae1da (patch)
treead396a7a7b71fdbcec19f7b74615654c3bd09165 /runtime
parenta26f56f67502c72d44c61afdede2206cdde47c17 (diff)
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.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index e38bc23de0..952a9a66fa 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