diff src/testdir/test_filetype.vim @ 34717:57572ecdd865 v9.1.0237

patch 9.1.0237: filetype: mplstyle files are not recognized Commit: https://github.com/vim/vim/commit/0fd560d46a1b83edba032300ab1f6119d4dca7b5 Author: Wu, Zhenyu <wuzhenyu@ustc.edu> Date: Sun Mar 31 19:05:44 2024 +0200 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>
author Christian Brabandt <cb@256bit.org>
date Sun, 31 Mar 2024 19:15:04 +0200
parents 6e5a5af31ac9
children 49035eb530e1
line wrap: on
line diff
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -820,7 +820,7 @@ def s:GetFilenameChecks(): dict<list<str
     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'],
+    yaml: ['file.yaml', 'file.yml', 'file.eyaml', '.clangd', '.clang-format', '.clang-tidy', 'file.mplstyle'],
     yang: ['file.yang'],
     yuck: ['file.yuck'],
     z8a: ['file.z8a'],