To: vim_dev@googlegroups.com Subject: Patch 9.0.0952 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0952 Problem: Eclipse preference files are not recognized. Solution: Add a pattern to use "jproperties" for Eclipse preference files. (closes #11618) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.0951/runtime/filetype.vim 2022-11-24 20:01:14.886805253 +0000 --- runtime/filetype.vim 2022-11-26 13:01:55.188033561 +0000 *************** *** 981,986 **** --- 981,988 ---- " Java Properties resource file (note: doesn't catch font.properties.pl) au BufNewFile,BufRead *.properties,*.properties_??,*.properties_??_?? setf jproperties + " Eclipse preference files use Java Properties syntax + au BufNewFile,BufRead org.eclipse.*.prefs setf jproperties " Jess au BufNewFile,BufRead *.clp setf jess *** ../vim-9.0.0951/src/testdir/test_filetype.vim 2022-11-24 20:01:14.886805253 +0000 --- src/testdir/test_filetype.vim 2022-11-26 12:58:35.616374055 +0000 *************** *** 286,292 **** \ 'jess': ['file.clp'], \ 'jgraph': ['file.jgr'], \ 'jovial': ['file.jov', 'file.j73', 'file.jovial'], ! \ 'jproperties': ['file.properties', 'file.properties_xx', 'file.properties_xx_xx', 'some.properties_xx_xx_file'], \ 'json': ['file.json', 'file.jsonp', 'file.json-patch', 'file.webmanifest', 'Pipfile.lock', 'file.ipynb', '.babelrc', '.eslintrc', '.prettierrc', '.firebaserc', 'file.slnf'], \ 'json5': ['file.json5'], \ 'jsonc': ['file.jsonc'], --- 286,292 ---- \ 'jess': ['file.clp'], \ 'jgraph': ['file.jgr'], \ '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', '.babelrc', '.eslintrc', '.prettierrc', '.firebaserc', 'file.slnf'], \ 'json5': ['file.json5'], \ 'jsonc': ['file.jsonc'], *** ../vim-9.0.0951/src/version.c 2022-11-26 11:47:07.175323334 +0000 --- src/version.c 2022-11-26 13:00:25.104177685 +0000 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 952, /**/ -- hundred-and-one symptoms of being an internet addict: 148. You find it easier to dial-up the National Weather Service Weather/your_town/now.html than to simply look out the window. /// 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 ///