patch 9.1.0902: filetype: Conda configuration files are not recognized

Commit: 
https://github.com/vim/vim/commit/876de275cb3affa5910664cc52a5177c214313e8
Author: zeertzjq <zeert...@outlook.com>
Date:   Tue Dec 3 20:43:52 2024 +0100

    patch 9.1.0902: filetype: Conda configuration files are not recognized
    
    Problem:  filetype: Conda configuration files are not recognized
    Solution: detect '.condarc' and 'condarc' files as yaml filetype.
              (zeertzjq)
    
    closes: #16162
    
    Signed-off-by: zeertzjq <zeert...@outlook.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index f91d405f7..2c46c57b1 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -452,6 +452,9 @@ au BufNewFile,BufRead .clang-format         setf yaml
 " Clang-tidy
 au BufNewFile,BufRead .clang-tidy              setf yaml
 
+" Conda configuration file
+au BufNewFile,BufRead .condarc,condarc         setf yaml
+
 " Matplotlib
 au BufNewFile,BufRead *.mplstyle,matplotlibrc  setf yaml
 
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 51f4dc1c8..ef1d8b57e 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -889,7 +889,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', 'any/.bundle/config', 
'.clangd', '.clang-format', '.clang-tidy', 'file.mplstyle', 'matplotlibrc', 
'yarn.lock',
-           '/home/user/.kube/config'],
+           '/home/user/.kube/config', '.condarc', 'condarc'],
     yang: ['file.yang'],
     yuck: ['file.yuck'],
     z8a: ['file.z8a'],
diff --git a/src/version.c b/src/version.c
index 724fa6140..5a9f50f6e 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    902,
 /**/
     901,
 /**/

-- 
-- 
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/E1tIZ3z-0068bE-O5%40256bit.org.

Raspunde prin e-mail lui