Skip to content

Highlight Python function/method calls #283

Closed
@silenc3r

Description

@silenc3r

It would be nice if function and method calls be highlighted by default as is done in most other editors.

It can be achieved with something like that:

    syntax match pythonFunction /\v([^[:cntrl:][:space:][:punct:][:digit:]]|_)([^[:cntrl:][:punct:][:space:]]|_)*\ze(\s?\()/

Here's how it looks like:

before
screenshot from 2018-03-16 11-59-46
after
screenshot from 2018-03-16 11-59-28

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions