runtime(mbsync): Add support for TLSType in syntax script

Commit: 
https://github.com/vim/vim/commit/bb78ea23c6db2883ea4c24d74ec26902e12c9cfc
Author: Filippo Bonazzi <filippo.bona...@suse.com>
Date:   Wed Jun 4 20:13:03 2025 +0200

    runtime(mbsync): Add support for TLSType in syntax script
    
    closes: https://github.com/vim/vim/issues/17438
    
    Signed-off-by: Filippo Bonazzi <filippo.bona...@suse.com>
    Signed-off-by: Pierrick Guillaume <pguilla...@fymyte.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/syntax/mbsync.vim b/runtime/syntax/mbsync.vim
index f1df4719c..7275d65c7 100644
--- a/runtime/syntax/mbsync.vim
+++ b/runtime/syntax/mbsync.vim
@@ -2,6 +2,7 @@
 " Language:    mbsyncrc
 " Maintainer:  Pierrick Guillaume  <pguilla...@fymyte.com>
 " Last Change: 2025 Apr 13
+" 2025 Jun 04 by Vim project: match TLSType configuration variable
 "
 " Syntax support for mbsync config file
 
@@ -80,8 +81,9 @@ syn match mbsIAConfStPassCmd      '^PassCmd\s\+\ze.*$'        
contains=mbsIAConf
 syn match mbsIAConfStUseKeychain  '^UseKeychain\s\+\ze.*$'    
contains=mbsIAConfItemK contained nextgroup=mbsBool transparent
 syn match mbsIAConfStTunnel       '^Tunnel\s\+\ze.*$'         
contains=mbsIAConfItemK contained nextgroup=mbsCommand transparent
 syn match mbsIAConfStAuthMechs    '^AuthMechs\s\+\ze.*$'      
contains=mbsIAConfItemK contained nextgroup=mbsPath transparent
-syn keyword mbsIAConfSSLTypeOpt None STARTTLS IMAPS contained
-syn match mbsIAConfStSSLType      '^SSLType\s\+\ze.*$'        
contains=mbsIAConfItemK contained nextgroup=mbsIAConfSSLTypeOpt transparent
+syn keyword mbsIAConfTLSTypeOpt None STARTTLS IMAPS contained
+syn match mbsIAConfStSSLType      '^SSLType\s\+\ze.*$'        
contains=mbsIAConfItemK contained nextgroup=mbsIAConfTLSTypeOpt transparent
+syn match mbsIAConfStTLSType      '^TLSType\s\+\ze.*$'        
contains=mbsIAConfItemK contained nextgroup=mbsIAConfTLSTypeOpt transparent
 syn match mbsIAConfSSLVersionsOpt 
'\%(SSLv3\|TLSv1\%(.[123]\)\?\)\%(\s\+\%(SSLv3\|TLSv1\%(.[123]\)\?\)\)*' 
contained
 syn match mbsIAConfStSSLVersions  '^SSLVersions\s\+\ze.*$'    
contains=mbsIAConfItemK contained nextgroup=mbsIAConfSSLVersionsOpt transparent
 syn match mbsIAConfStSystemCertificates  '^SystemCertificates\s\+\ze.*$'    
contains=mbsIAConfItemK contained nextgroup=mbsBool transparent
@@ -96,7 +98,7 @@ syn cluster mbsIAConfItem contains=mbsIAConfSt.*
 
 syn keyword mbsIAConfItemK
   \ IMAPAccount Host Port Timeout User UserCmd Pass PassCmd UseKeychain Tunnel
-  \ AuthMechs SSLType SSLVersions SystemCertificates CertificateFile 
ClientCertificate
+  \ AuthMechs SSLType TLSType SSLVersions SystemCertificates CertificateFile 
ClientCertificate
   \ ClientKey CipherString PipelineDepth DisableExtension[s] contained
 
 syn region mbsIMAP4AccontsStore start="^IMAPAccount" end="^$" end="\%$" 
contains=@mbsGlobConfItem,mbsCommentL,@mbsIAConfItem,mbsError transparent
@@ -195,7 +197,7 @@ hi def link mbsMdSConfItemK   Statement
 hi def link mbsMdSConfSubFoldersOpt Keyword
 
 hi def link mbsIAConfItemK    Statement
-hi def link mbsIAConfSSLTypeOpt Keyword
+hi def link mbsIAConfTLSTypeOpt Keyword
 hi def link mbsIAConfSSLVersionsOpt Keyword
 
 hi def link mbsISConfItemK    Statement

-- 
-- 
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/E1uMsdp-00HXW7-Bw%40256bit.org.

Raspunde prin e-mail lui