Mercurial > vim
diff runtime/filetype.vim @ 31237:5bdf73161e65 v9.0.0952
patch 9.0.0952: Eclipse preference files are not recognized
Commit: https://github.com/vim/vim/commit/f3f198b6349fe252b72975701e2f17d932b19c70
Author: ObserverOfTime <chronobserver@disroot.org>
Date: Sat Nov 26 13:03:20 2022 +0000
patch 9.0.0952: Eclipse preference files are not recognized
Problem: Eclipse preference files are not recognized.
Solution: Add a pattern to use "jproperties" for Eclipse preference files.
(closes #11618)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 26 Nov 2022 14:15:04 +0100 |
parents | e651c7a29c87 |
children | abb9d25924d8 |
line wrap: on
line diff
--- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -981,6 +981,8 @@ au BufNewFile,BufRead *.jsp setf jsp " 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