patch 9.1.1709: filetype: kyaml files are not recognized

Commit: 
https://github.com/vim/vim/commit/d5c89cc6bb6aa105abbd6ac07e4265e7da32d606
Author: Volodymyr Chernetskyi <[email protected]>
Date:   Fri Aug 29 18:08:52 2025 +0200

    patch 9.1.1709: filetype: kyaml files are not recognized
    
    Problem:  filetype: kyaml files are not recognized
    Solution: Detect *.kyml files as yaml filetype
              (Volodymyr Chernetskyi)
    
    References:
    - 
https://kubernetes.io/blog/2025/08/27/kubernetes-v1-34-release/#alpha-support-for-kyaml-a-kubernetes-dialect-of-yaml
    
    closes: #18158
    
    Signed-off-by: Volodymyr Chernetskyi 
<[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index ab5a0b7b5..0c9f34189 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1377,6 +1377,9 @@ au BufNewFile,BufRead *.ks                        setf 
kscript
 " Kconfig
 au BufNewFile,BufRead Kconfig,Kconfig.debug,Config.in  setf kconfig
 
+" Kyaml
+au BufNewFile,BufRead *.kyaml,*.kyml           setf yaml
+
 " Lace (ISE)
 au BufNewFile,BufRead *.ace,*.ACE              setf lace
 
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 1766212ea..0d97cfd0c 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -929,7 +929,7 @@ def s:GetFilenameChecks(): dict<list<string>>
     xsd: ['file.xsd'],
     xslt: ['file.xsl', 'file.xslt'],
     yacc: ['file.yy', 'file.yxx', 'file.y++'],
-    yaml: ['file.yaml', 'file.yml', 'file.eyaml', 'any/.bundle/config', 
'.clangd', '.clang-format', '.clang-tidy', 'file.mplstyle', 'matplotlibrc', 
'yarn.lock',
+    yaml: ['file.yaml', 'file.yml', 'file.eyaml', 'file.kyaml', 'file.kyml', 
'any/.bundle/config', '.clangd', '.clang-format', '.clang-tidy', 
'file.mplstyle', 'matplotlibrc', 'yarn.lock',
            '/home/user/.kube/config', '.condarc', 'condarc', 'pixi.lock'],
     yang: ['file.yang'],
     yuck: ['file.yuck'],
diff --git a/src/version.c b/src/version.c
index 7560da6ce..2baacceb9 100644
--- a/src/version.c
+++ b/src/version.c
@@ -724,6 +724,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1709,
 /**/
     1708,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1us1kq-009VmI-5v%40256bit.org.

Raspunde prin e-mail lui