forked from aniani/vim
patch 9.0.1565: json lines files are not recognized
Problem: Json lines files are not recognized. Solution: Add a pattern to detect "jsonl" files. (issue #7520)
This commit is contained in:
@@ -1063,6 +1063,9 @@ au BufNewFile,BufRead .jshintrc,.hintrc,.swrc,[jt]sconfig*.json setf jsonc
|
||||
" JSON
|
||||
au BufNewFile,BufRead *.json,*.jsonp,*.webmanifest setf json
|
||||
|
||||
" JSON Lines
|
||||
au BufNewFile,BufRead *.jsonl setf jsonl
|
||||
|
||||
" Jsonnet
|
||||
au BufNewFile,BufRead *.jsonnet,*.libsonnet setf jsonnet
|
||||
|
||||
|
||||
Reference in New Issue
Block a user