vim-patch:9.1.0323: filetype: cabal config files may not be recognized
Problem: filetype: cabal config files may not be recognized
Solution: Change filetype pattern to '*/{,.}cabal/config'
(Wu Zhenyu)
closes: vim/vim#14498
799dedec0e
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
parent
6717cc5b41
commit
fcf17c8859
|
@ -1723,9 +1723,8 @@ local pattern = {
|
|||
['.*%.blade%.php'] = 'blade',
|
||||
['bzr_log%..*'] = 'bzr',
|
||||
['.*enlightenment/.*%.cfg'] = 'c',
|
||||
['${HOME}/cabal%.config'] = 'cabalconfig',
|
||||
['${HOME}/%.config/cabal/config'] = 'cabalconfig',
|
||||
['${XDG_CONFIG_HOME}/cabal/config'] = 'cabalconfig',
|
||||
['.*/%.cabal/config'] = 'cabalconfig',
|
||||
['.*/cabal/config'] = 'cabalconfig',
|
||||
['cabal%.project%..*'] = starsetf('cabalproject'),
|
||||
['.*/%.calendar/.*'] = starsetf('calendar'),
|
||||
['.*/share/calendar/.*/calendar%..*'] = starsetf('calendar'),
|
||||
|
|
Loading…
Reference in New Issue