mirror of
https://github.com/neovim/neovim.git
synced 2026-07-21 08:31:47 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user