forked from aniani/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: #14498 Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
e92ed1b45c
commit
799dedec0e
@@ -975,11 +975,7 @@ au BufNewFile,BufRead *.hs,*.hsc,*.hs-boot,*.hsig setf haskell
|
|||||||
au BufNewFile,BufRead *.lhs setf lhaskell
|
au BufNewFile,BufRead *.lhs setf lhaskell
|
||||||
au BufNewFile,BufRead *.chs setf chaskell
|
au BufNewFile,BufRead *.chs setf chaskell
|
||||||
au BufNewFile,BufRead cabal.project setf cabalproject
|
au BufNewFile,BufRead cabal.project setf cabalproject
|
||||||
au BufNewFile,BufRead $HOME/.cabal/config setf cabalconfig
|
au BufNewFile,BufRead */{.,}cabal/config setf cabalconfig
|
||||||
if exists('$XDG_CONFIG_HOME')
|
|
||||||
au BufNewFile,BufRead $XDG_CONFIG_HOME/cabal/config setf cabalconfig
|
|
||||||
endif
|
|
||||||
au BufNewFile,BufRead $HOME/.config/cabal/config setf cabalconfig
|
|
||||||
au BufNewFile,BufRead cabal.config setf cabalconfig
|
au BufNewFile,BufRead cabal.config setf cabalconfig
|
||||||
au BufNewFile,BufRead *.persistentmodels setf haskellpersistent
|
au BufNewFile,BufRead *.persistentmodels setf haskellpersistent
|
||||||
|
|
||||||
|
@@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
323,
|
||||||
/**/
|
/**/
|
||||||
322,
|
322,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user