vim-python / python-syntax

Python syntax highlighting for Vim
MIT License
438 stars 84 forks source link

Function calls not highlighted in f-strings within {} #87

Closed nst0022 closed 2 years ago

nst0022 commented 2 years ago

1 Line 1 shows a user-defined function. In line 4, the call to hello() is properly highlighted. Line 6 shows the member function join(), which is also properly highlighted.

However, both functions are not highlighted within f-strings (line 8 and 10).

I could not figure out from python.vim, why the build-in function str(), and the reserved words 'for' and 'in' are highlighted, but the above mentioned functions not.

Is this a bug?

nst0022 commented 2 years ago

it works now