mirror of
https://github.com/neovim/neovim.git
synced 2025-12-06 14:42:35 +00:00
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:
@@ -1723,9 +1723,8 @@ local pattern = {
|
|||||||
['.*%.blade%.php'] = 'blade',
|
['.*%.blade%.php'] = 'blade',
|
||||||
['bzr_log%..*'] = 'bzr',
|
['bzr_log%..*'] = 'bzr',
|
||||||
['.*enlightenment/.*%.cfg'] = 'c',
|
['.*enlightenment/.*%.cfg'] = 'c',
|
||||||
['${HOME}/cabal%.config'] = 'cabalconfig',
|
['.*/%.cabal/config'] = 'cabalconfig',
|
||||||
['${HOME}/%.config/cabal/config'] = 'cabalconfig',
|
['.*/cabal/config'] = 'cabalconfig',
|
||||||
['${XDG_CONFIG_HOME}/cabal/config'] = 'cabalconfig',
|
|
||||||
['cabal%.project%..*'] = starsetf('cabalproject'),
|
['cabal%.project%..*'] = starsetf('cabalproject'),
|
||||||
['.*/%.calendar/.*'] = starsetf('calendar'),
|
['.*/%.calendar/.*'] = starsetf('calendar'),
|
||||||
['.*/share/calendar/.*/calendar%..*'] = starsetf('calendar'),
|
['.*/share/calendar/.*/calendar%..*'] = starsetf('calendar'),
|
||||||
|
|||||||
Reference in New Issue
Block a user