runtime(python): Highlight t-strings

Commit: 
https://github.com/vim/vim/commit/8d8c9074c3cbb33b2b8b97556bdb7267e2617b93
Author: Rob B <[email protected]>
Date:   Wed Dec 3 20:25:41 2025 +0000

    runtime(python): Highlight t-strings
    
    - Highlight t-strings
    - Update comments
    - Add tests
    
    closes: #18679
    
    Signed-off-by: Rob B <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/syntax/python.vim b/runtime/syntax/python.vim
index 05c965ec6..301fb8480 100644
--- a/runtime/syntax/python.vim
+++ b/runtime/syntax/python.vim
@@ -3,6 +3,7 @@
 " Maintainer:  Zvezdan Petkovic <[email protected]>
 " Last Change: 2025 Sep 08
 " 2025 Sep 25 by Vim Project: fix wrong type highlighting #18394
+" 2025 Dec 03 by Vim Project: highlight t-strings #18679
 " Credits:     Neil Schemenauer <[email protected]>
 "              Dmitry Vasiliev
 "              Rob B
@@ -168,27 +169,29 @@ syn region  pythonRawString matchgroup=pythonTripleQuotes
 
 " Formatted string literals (f-strings)
 " https://docs.python.org/3/reference/lexical_analysis.html#f-strings
+" Template string literals (t-strings)
+" 
https://docs.python.org/3/reference/lexical_analysis.html#template-string-literals
 syn region  pythonFString
       \ matchgroup=pythonQuotes
-      \ start=+

-- 
-- 
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/E1vQtUE-00Eqn8-PJ%40256bit.org.

Raspunde prin e-mail lui