Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create highlight groups for string literal prefixes (f, r, b, …) and (keyword) args #47

Open
sscherfke opened this issue Aug 29, 2018 · 2 comments

Comments

@sscherfke
Copy link

In sublime text, the string literal prefixes (e.g, the "f" in f'a string') and function arguments (names and values) are separate highlight groups:

It would be nice if we could have this in vim, too. :)

@nfnty
Copy link
Member

nfnty commented Jan 9, 2019

Certainly could be added. Send a PR if you're interested in contributing!

@qwenger
Copy link

qwenger commented Dec 26, 2020

I second this. As an addendum, it would also be nice to have groups for the quotes themselves, like the default python.vim does (pythonQuotes, https://github.com/vim/vim/blob/master/runtime/syntax/python.vim#L137).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants