Patch 9.0.1565
Problem: Json lines files are not recognized.
Solution: Add a pattern to detect "jsonl" files. (issue #7520)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-9.0.1564/runtime/filetype.vim 2023-05-13 12:15:53.436821646
+0100
--- runtime/filetype.vim 2023-05-18 16:32:30.935507271 +0100
***************
*** 1063,1068 ****
--- 1063,1071 ----
" 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
*** ../vim-9.0.1564/src/testdir/test_filetype.vim 2023-05-13
12:15:53.436821646 +0100
--- src/testdir/test_filetype.vim 2023-05-18 16:34:46.787459820 +0100
***************
*** 305,310 ****
--- 305,311 ----
\ 'json': ['file.json', 'file.jsonp', 'file.json-patch',
'file.webmanifest', 'Pipfile.lock', 'file.ipynb', '.prettierrc', '.firebaserc',
'.stylelintrc', 'file.slnf'],
\ 'json5': ['file.json5'],
\ 'jsonc': ['file.jsonc', '.babelrc', '.eslintrc', '.jsfmtrc',
'.jshintrc', '.hintrc', '.swrc', 'jsconfig.json', 'tsconfig.json',
'tsconfig.test.json', 'tsconfig-test.json'],
+ \ 'jsonl': ['file.jsonl'],
\ 'jsonnet': ['file.jsonnet', 'file.libsonnet'],
\ 'jsp': ['file.jsp'],
\ 'julia': ['file.jl'],
*** ../vim-9.0.1564/src/version.c 2023-05-18 13:26:50.038801412 +0100
--- src/version.c 2023-05-18 16:34:19.703469219 +0100
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1565,
/**/
--
Don't believe everything you hear or anything you say.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20230518154245.32EB31C0D4E%40moolenaar.net.