1
0
forked from aniani/vim

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)
This commit is contained in:
Amaan Qureshi
2023-02-21 15:18:50 +00:00
committed by Bram Moolenaar
parent a23a11b5bf
commit cfce5cf542
3 changed files with 6 additions and 0 deletions

View File

@@ -2441,6 +2441,9 @@ au BufNewFile,BufRead */etc/yum.conf setf dosini
" YANG " YANG
au BufRead,BufNewFile *.yang setf yang au BufRead,BufNewFile *.yang setf yang
" Yuck
au BufNewFile,BufRead *.yuck setf yuck
" Zimbu " Zimbu
au BufNewFile,BufRead *.zu setf zimbu au BufNewFile,BufRead *.zu setf zimbu
" Zimbu Templates " Zimbu Templates

View File

@@ -664,6 +664,7 @@ let s:filename_checks = {
\ 'yacc': ['file.yy', 'file.yxx', 'file.y++'], \ 'yacc': ['file.yy', 'file.yxx', 'file.y++'],
\ 'yaml': ['file.yaml', 'file.yml', '.clangd', '.clang-format', '.clang-tidy'], \ 'yaml': ['file.yaml', 'file.yml', '.clangd', '.clang-format', '.clang-tidy'],
\ 'yang': ['file.yang'], \ 'yang': ['file.yang'],
\ 'yuck': ['file.yuck'],
\ 'z8a': ['file.z8a'], \ 'z8a': ['file.z8a'],
\ 'zig': ['file.zig'], \ 'zig': ['file.zig'],
\ 'zimbu': ['file.zu'], \ 'zimbu': ['file.zu'],

View File

@@ -695,6 +695,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 */
/**/
1337,
/**/ /**/
1336, 1336,
/**/ /**/