mirror of
https://github.com/neovim/neovim.git
synced 2025-01-01 17:23:36 -07:00
vim-patch:9.0.0952: Eclipse preference files are not recognized (#21199)
Problem: Eclipse preference files are not recognized.
Solution: Add a pattern to use "jproperties" for Eclipse preference files.
(closes vim/vim#11618)
f3f198b634
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
This commit is contained in:
parent
7e9981d246
commit
319fbffc94
@ -1909,6 +1909,7 @@ local pattern = {
|
|||||||
['Prl.*%..*'] = starsetf('jam'),
|
['Prl.*%..*'] = starsetf('jam'),
|
||||||
['.*%.properties_..'] = 'jproperties',
|
['.*%.properties_..'] = 'jproperties',
|
||||||
['.*%.properties_.._..'] = 'jproperties',
|
['.*%.properties_.._..'] = 'jproperties',
|
||||||
|
['org%.eclipse%..*%.prefs'] = 'jproperties',
|
||||||
['.*%.properties_.._.._.*'] = starsetf('jproperties'),
|
['.*%.properties_.._.._.*'] = starsetf('jproperties'),
|
||||||
['Kconfig%..*'] = starsetf('kconfig'),
|
['Kconfig%..*'] = starsetf('kconfig'),
|
||||||
['.*%.[Ss][Uu][Bb]'] = 'krl',
|
['.*%.[Ss][Uu][Bb]'] = 'krl',
|
||||||
|
@ -288,7 +288,7 @@ let s:filename_checks = {
|
|||||||
\ 'jess': ['file.clp'],
|
\ 'jess': ['file.clp'],
|
||||||
\ 'jgraph': ['file.jgr'],
|
\ 'jgraph': ['file.jgr'],
|
||||||
\ 'jovial': ['file.jov', 'file.j73', 'file.jovial'],
|
\ 'jovial': ['file.jov', 'file.j73', 'file.jovial'],
|
||||||
\ 'jproperties': ['file.properties', 'file.properties_xx', 'file.properties_xx_xx', 'some.properties_xx_xx_file'],
|
\ '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'],
|
\ 'json': ['file.json', 'file.jsonp', 'file.json-patch', 'file.webmanifest', 'Pipfile.lock', 'file.ipynb', '.babelrc', '.eslintrc', '.prettierrc', '.firebaserc', 'file.slnf'],
|
||||||
\ 'json5': ['file.json5'],
|
\ 'json5': ['file.json5'],
|
||||||
\ 'jsonc': ['file.jsonc'],
|
\ 'jsonc': ['file.jsonc'],
|
||||||
|
Loading…
Reference in New Issue
Block a user