diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 6d2d55e3c7..4808a56d8e 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -2544,7 +2544,7 @@ au BufNewFile,BufRead *.yy,*.yxx,*.y++ setf yacc au BufNewFile,BufRead *.y call dist#ft#FTy() " Yaml -au BufNewFile,BufRead *.yaml,*.yml setf yaml +au BufNewFile,BufRead *.yaml,*.yml,*.eyaml setf yaml " Raml au BufNewFile,BufRead *.raml setf raml diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index a044b62926..7125360da1 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -799,7 +799,7 @@ def s:GetFilenameChecks(): dict> xsd: ['file.xsd'], xslt: ['file.xsl', 'file.xslt'], yacc: ['file.yy', 'file.yxx', 'file.y++'], - yaml: ['file.yaml', 'file.yml', '.clangd', '.clang-format', '.clang-tidy'], + yaml: ['file.yaml', 'file.yml', 'file.eyaml', '.clangd', '.clang-format', '.clang-tidy'], yang: ['file.yang'], yuck: ['file.yuck'], z8a: ['file.z8a'],