patch 9.1.1775: filetype: Mamba configuration files are not recognized

Commit: 
https://github.com/vim/vim/commit/21a21eafeccb7f40a7af80a8ff600b513e70d188
Author: Samuel Huang <h...@sgh.ng>
Date:   Thu Sep 18 20:28:53 2025 +0000

    patch 9.1.1775: filetype: Mamba configuration files are not recognized
    
    Problem:  filetype: Mamba configuration files are not recognized
    Solution: Detect .mambarc and mambarc as yaml filetype (Samuel Huang).
    
    References:
    - https://mamba.readthedocs.io/en/latest/user_guide/configuration.html
    
    closes: #18338
    
    Signed-off-by: Samuel Huang <h...@sgh.ng>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 934e4042f..06167c727 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -630,6 +630,9 @@ au BufNewFile,BufRead lynx.cfg                      setf 
lynx
 " LyRiCs
 au BufNewFile,BufRead *.lrc                    setf lyrics
 
+" Mamba configuration file
+au BufNewFile,BufRead .mambarc,mambarc         setf yaml
+
 " MLIR
 au BufNewFile,BufRead *.mlir                   setf mlir
 
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 7aa319787..5dc91696c 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -935,7 +935,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', 'pixi.lock'],
+           '/home/user/.kube/config', '/home/user/.kube/kuberc', '.condarc', 
'condarc', '.mambarc', 'mambarc', 'pixi.lock'],
     yang: ['file.yang'],
     yuck: ['file.yuck'],
     z8a: ['file.z8a'],
diff --git a/src/version.c b/src/version.c
index a1e052195..c79b2b23b 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 */
+/**/
+    1775,
 /**/
     1774,
 /**/

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1uzLV2-00EqsO-If%40256bit.org.

Raspunde prin e-mail lui