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)
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index be92fb8..a2bf03a 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -2441,6 +2441,9 @@
" YANG
au BufRead,BufNewFile *.yang setf yang
+" Yuck
+au BufNewFile,BufRead *.yuck setf yuck
+
" Zimbu
au BufNewFile,BufRead *.zu setf zimbu
" Zimbu Templates
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 8e88fa5..ed5f43e 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -664,6 +664,7 @@
\ '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'],
diff --git a/src/version.c b/src/version.c
index fd8e887..a665a2a 100644
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1337,
+/**/
1336,
/**/
1335,