To: vim_dev@googlegroups.com Subject: Patch 9.0.1103 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///