changeset 32011:b4d89bd4b517 v9.0.1337

patch 9.0.1337: yuck files are not recognized Commit: https://github.com/vim/vim/commit/cfce5cf542db20c7beba5b4211c0ae3305a64a43 Author: Amaan Qureshi <amaanq12@gmail.com> Date: Tue Feb 21 15:18:50 2023 +0000 patch 9.0.1337: yuck files are not recognized Problem: Yuck files are not recognized. Solution: Add a filetype pattern for yuck files. (Amaan Qureshi, closes #12033)
author Bram Moolenaar <Bram@vim.org>
date Tue, 21 Feb 2023 16:30:04 +0100
parents a47fb90b731e
children 2c4d6d25953c
files runtime/filetype.vim src/testdir/test_filetype.vim src/version.c
diffstat 3 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -2441,6 +2441,9 @@ au BufNewFile,BufRead */etc/yum.conf		se
 " YANG
 au BufRead,BufNewFile *.yang			setf yang
 
+" Yuck
+au BufNewFile,BufRead *.yuck			setf yuck
+
 " Zimbu
 au BufNewFile,BufRead *.zu			setf zimbu
 " Zimbu Templates
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -664,6 +664,7 @@ let s:filename_checks = {
     \ 'yacc': ['file.yy', 'file.yxx', 'file.y++'],
     \ 'yaml': ['file.yaml', 'file.yml', '.clangd', '.clang-format', '.clang-tidy'],
     \ 'yang': ['file.yang'],
+    \ 'yuck': ['file.yuck'],
     \ 'z8a': ['file.z8a'],
     \ 'zig': ['file.zig'],
     \ 'zimbu': ['file.zu'],
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1337,
+/**/
     1336,
 /**/
     1335,