vim-patch:8.2.3469: some files with json syntax are not recognized (#15891)

Problem:    Some files with json syntax are not recognized.
Solution:   Add a few file patterns. (Emiliano Ruiz Carletti, closes vim/vim#8947)
50c5689342
This commit is contained in:
dundargoc
2021-10-04 00:50:51 +02:00
committed by GitHub
parent 7ba11e06c0
commit a0bf28cd54
2 changed files with 4 additions and 1 deletions

View File

@@ -872,6 +872,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