1
0
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:
Bram Moolenaar
2023-05-18 16:42:17 +01:00
parent 0222c2d103
commit 6fadbc1e8c
3 changed files with 6 additions and 0 deletions

View File

@@ -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