1
0
forked from aniani/vim

patch 8.2.3469: some files with json syntax are not recognized

Problem:    Some files with json syntax are not recognized.
Solution:   Add a few file patterns. (Emiliano Ruiz Carletti, closes #8947)
This commit is contained in:
Bram Moolenaar
2021-10-03 20:11:20 +01:00
parent c6376c7984
commit 50c5689342
3 changed files with 6 additions and 1 deletions

View File

@@ -876,6 +876,9 @@ au BufNewFile,BufRead *.json-patch setf json
" Jupyter Notebook is also json
au BufNewFile,BufRead *.ipynb setf json
" Other files that look like json
au BufNewFile,BufRead .babelrc,.eslintrc,.prettierrc,.firebaserc setf json
" JSONC
au BufNewFile,BufRead *.jsonc setf jsonc