vim-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: vim/vim#18158

d5c89cc6bb

Co-authored-by: Volodymyr Chernetskyi <19735328+chernetskyi@users.noreply.github.com>
This commit is contained in:
Volodymyr Chernetskyi
2025-08-29 20:06:21 +02:00
committed by Christian Clason
parent b3d29f396d
commit c333d64663
2 changed files with 3 additions and 1 deletions

View File

@@ -1392,6 +1392,8 @@ local extension = {
yaml = 'yaml',
eyaml = 'yaml',
mplstyle = 'yaml',
kyaml = 'yaml',
kyml = 'yaml',
grc = detect_line1('<%?xml', 'xml', 'yaml'),
yang = 'yang',
yuck = 'yuck',