mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 9.1.0247: filetype: bundle config files are not recognized
Problem: filetype: bundle config files are not recognized Solution: Detect '*/.bundle/config' as yaml (Wu, Zhenyu) closes: #14368 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
a2c27b01dc
commit
3f6fa93b3b
@@ -280,6 +280,9 @@ endif
|
||||
" Busted (Lua unit testing framework - configuration files)
|
||||
au BufNewFile,BufRead .busted setf lua
|
||||
|
||||
" Bundle config
|
||||
au BufNewFile,BufRead */.bundle/config setf yaml
|
||||
|
||||
" C or lpc
|
||||
au BufNewFile,BufRead *.c call dist#ft#FTlpc()
|
||||
au BufNewFile,BufRead *.lpc,*.ulpc setf lpc
|
||||
|
@@ -820,7 +820,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
||||
xsd: ['file.xsd'],
|
||||
xslt: ['file.xsl', 'file.xslt'],
|
||||
yacc: ['file.yy', 'file.yxx', 'file.y++'],
|
||||
yaml: ['file.yaml', 'file.yml', 'file.eyaml', '.clangd', '.clang-format', '.clang-tidy', 'file.mplstyle'],
|
||||
yaml: ['file.yaml', 'file.yml', 'file.eyaml', 'any/.bundle/config', '.clangd', '.clang-format', '.clang-tidy', 'file.mplstyle'],
|
||||
yang: ['file.yang'],
|
||||
yuck: ['file.yuck'],
|
||||
z8a: ['file.z8a'],
|
||||
|
@@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
247,
|
||||
/**/
|
||||
246,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user