runtime(python): Highlight f-string replacement fields in Python
Commit:
https://github.com/vim/vim/commit/a94a0555d911da0d3bcd7e91d76c8e8ef03d9b0e
Author: Rob B <[email protected]>
Date: Sun Aug 10 10:35:31 2025 +0200
runtime(python): Highlight f-string replacement fields in Python
Highlight f-string replacement fields, including
- Comments
- Debugging flags
- Conversion fields
- Format specifications
- Delimiters
Syntax inside fields will be addressed in a separate commit.
related: #10734
related: #14033
closes: #17784
Signed-off-by: Rob B <[email protected]>
Signed-off-by: Zvezdan Petkovic <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/syntax/python.vim b/runtime/syntax/python.vim
index 2881cad46..d123ba4f8 100644
--- a/runtime/syntax/python.vim
+++ b/runtime/syntax/python.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: Python
" Maintainer: Zvezdan Petkovic <[email protected]>
-" Last Change: 2025 Jul 26
+" Last Change: 2025 Aug 10
" Credits: Neil Schemenauer <[email protected]>
" Dmitry Vasiliev
" Rob B
@@ -165,25 +165,25 @@ syn region pythonFString
\ 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/E1ul1g1-0067DO-8t%40256bit.org.