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 -- [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/20221126130344.DD7281C10A8%40moolenaar.net.