Patch 9.0.1103

3 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 26, 2022, 10:36:27 AM12/26/22
to vim...@googlegroups.com

Patch 9.0.1103
Problem: jq files are not recognized.
Solution: Add detection of Jq files. (David McDonald, closes #11743)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.1102/runtime/filetype.vim 2022-12-23 13:18:37.842600801 +0000
--- runtime/filetype.vim 2022-12-26 15:31:24.761933964 +0000
***************
*** 996,1001 ****
--- 996,1004 ----
" Jovial
au BufNewFile,BufRead *.jov,*.j73,*.jovial setf jovial

+ " Jq
+ au BufNewFile,BufRead *.jq setf jq
+
" JSON5
au BufNewFile,BufRead *.json5 setf json5

*** ../vim-9.0.1102/src/testdir/test_filetype.vim 2022-12-23 13:18:37.842600801 +0000
--- src/testdir/test_filetype.vim 2022-12-26 15:31:24.761933964 +0000
***************
*** 286,291 ****
--- 286,292 ----
\ 'javascriptreact': ['file.jsx'],
\ 'jess': ['file.clp'],
\ 'jgraph': ['file.jgr'],
+ \ 'jq': ['file.jq'],
\ 'jovial': ['file.jov', 'file.j73', 'file.jovial'],
\ 'jproperties': ['file.properties', 'file.properties_xx', 'file.properties_xx_xx', 'some.properties_xx_xx_file', 'org.eclipse.xyz.prefs'],
\ 'json': ['file.json', 'file.jsonp', 'file.json-patch', 'file.webmanifest', 'Pipfile.lock', 'file.ipynb', '.prettierrc', '.firebaserc', 'file.slnf'],
*** ../vim-9.0.1102/src/version.c 2022-12-26 14:46:43.705801198 +0000
--- src/version.c 2022-12-26 15:33:23.961899389 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1103,
/**/

--
If "R" is Reverse, how come "D" is FORWARD?

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages