mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 9.1.0237: filetype: mplstyle files are not recognized
Problem: filetype: mplstyle files are not recognized Solution: Detect '*.mplstyle' files as yaml (Wu, Zhenyu) closes: #14358 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
a75f4791b1
commit
0fd560d46a
@@ -409,6 +409,9 @@ au BufNewFile,BufRead .clang-format setf yaml
|
|||||||
" Clang-tidy
|
" Clang-tidy
|
||||||
au BufNewFile,BufRead .clang-tidy setf yaml
|
au BufNewFile,BufRead .clang-tidy setf yaml
|
||||||
|
|
||||||
|
" Matplotlib style
|
||||||
|
au BufNewFile,BufRead *.mplstyle setf yaml
|
||||||
|
|
||||||
" Clean
|
" Clean
|
||||||
au BufNewFile,BufRead *.dcl,*.icl setf clean
|
au BufNewFile,BufRead *.dcl,*.icl setf clean
|
||||||
|
|
||||||
|
@@ -820,7 +820,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
|||||||
xsd: ['file.xsd'],
|
xsd: ['file.xsd'],
|
||||||
xslt: ['file.xsl', 'file.xslt'],
|
xslt: ['file.xsl', 'file.xslt'],
|
||||||
yacc: ['file.yy', 'file.yxx', 'file.y++'],
|
yacc: ['file.yy', 'file.yxx', 'file.y++'],
|
||||||
yaml: ['file.yaml', 'file.yml', 'file.eyaml', '.clangd', '.clang-format', '.clang-tidy'],
|
yaml: ['file.yaml', 'file.yml', 'file.eyaml', '.clangd', '.clang-format', '.clang-tidy', 'file.mplstyle'],
|
||||||
yang: ['file.yang'],
|
yang: ['file.yang'],
|
||||||
yuck: ['file.yuck'],
|
yuck: ['file.yuck'],
|
||||||
z8a: ['file.z8a'],
|
z8a: ['file.z8a'],
|
||||||
|
@@ -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 */
|
||||||
|
/**/
|
||||||
|
237,
|
||||||
/**/
|
/**/
|
||||||
236,
|
236,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user