Skip to content

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

Open

Description

@sscherfke

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. :)

Activity

  1. nfnty commented on Jan 9, 2019

    @nfnty
    Member

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

  2. qwenger commented on Dec 26, 2020

    @qwenger

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions