diff options
author | Bram Moolenaar <Bram@vim.org> | 2023-05-18 16:42:17 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-05-18 16:42:17 +0100 |
commit | 6fadbc1e8c1f4c5b03eb6a78aeb023ca2c2a9a7d (patch) | |
tree | 9666ca26510e64e9feff5372635295ceadf215b2 /runtime/filetype.vim | |
parent | 0222c2d103ad9298bec4dc8864cd80b4e7559db1 (diff) |
patch 9.0.1565: json lines files are not recognizedv9.0.1565
Problem: Json lines files are not recognized.
Solution: Add a pattern to detect "jsonl" files. (issue #7520)
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 16bf8f9dd5..2f446a1aa2 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -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 |