Commit: patch 9.2.0957: filetype: ArgoCD config file is not recognized
Christian Brabandt <[email protected]>
| Newsgroups | gmane.editors.vim.devel |
|---|---|
| Message-ID | <[email protected]> |
patch 9.2.0957: filetype: ArgoCD config file is not recognized Commit: https://github.com/vim/vim/commit/7807dd22793da0e826618c0ca9c6210bbc1ea3f5 Author: Fionn Fitzmaurice <[email protected]> Date: Thu Aug 13 18:41:59 2026 +0000 patch 9.2.0957: filetype: ArgoCD config file is not recognized Problem: filetype: ArgoCD configuration file is not recognized Solution: Detect */argocd/config as yaml filetype (Fionn Fitzmaurice). Reference: https://argo-cd.readthedocs.io/en/latest/user-guide/commands/argocd_configure/#options-inherited-from-parent-commands closes: #21031 Signed-off-by: Fionn Fitzmaurice <[email protected]> Signed-off-by: Christian Brabandt <[email protected]> diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 36b052ca3..7241efb45 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1,7 +1,7 @@ " Vim support file to detect file types " " Maintainer: The Vim Project <https://github.com/vim/vim> -" Last Change: 2026 Aug 08 +" Last Change: 2026 Aug 13 " Former Maintainer: Bram Moolenaar <[email protected]> " If the filetype can be detected from extension or file name(the final path component), @@ -125,6 +125,9 @@ au BufNewFile,BufRead *.demo,*.dm{1,2,3,t},*.wxm,maxima-init.mac setf maxima " ObjectScript routine or assembly au BufNewFile,BufRead *.mac call dist#ft#FTmac() +" Argo CD configuration +au BufNewFile,BufRead */argocd/config setf yaml + " Assembly (all kinds) " *.lst is not pure assembly, it has two extra columns (address, byte codes) " *.[sS], *.[aA] usually Assembly - GNU diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index 0b8f5a2a4..eb13b52e2 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -1007,7 +1007,7 @@ def s:GetFilenameChecks(): dict<list<string>> xslt: ['file.xsl', 'file.xslt'], yacc: ['file.yy', 'file.yxx', 'file.y++'], 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', '/home/user/.kube/kuberc', '.condarc', 'condarc', '.mambarc', 'mambarc', 'pixi.lock', 'buf.lock', 'file.ksy'], + '/home/user/.kube/config', '/home/user/.kube/kuberc', '.condarc', 'condarc', '.mambarc', 'mambarc', 'pixi.lock', 'buf.lock', 'file.ksy', 'any/argocd/config'], yang: ['file.yang'], yara: ['file.yara', 'file.yar'], yuck: ['file.yuck'], diff --git a/src/version.c b/src/version.c index 2be3c231f..bfe225943 100644 --- a/src/version.c +++ b/src/version.c @@ -763,6 +763,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 957, /**/ 956, /**/ -- -- 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/E1wuaes-0027Uv-50%40256bit.org.