I am using python-mode
which colors the parameters.
When I concatinate strings the variable color is represented as different:
On the other hand, if I use fstring
, the variable is not represented as different color:
Please note that, if I enter non-existing variable, python-mode
detects it:
[Q] Is there any way to give a color to variables inside a fstring
in python-mode
for Emacs version >27.1
?
Related answer for Emacs <27.1
: https://emacs.stackexchange.com/a/55186/18414
When I apply it, it messes up all the original coloring in Python-mode
. Everything becomes white except strings.