Skip to content

Removal of whitepsace surround operators on 'J'oin lines #35

@NoahTheDuke

Description

@NoahTheDuke

Back again with another odd interaction! Test code:

test = [x + 1 for x in range(
    2 * 2)]

Move the cursor to the first line and press J to join the line below. On my machine, it removes all whitespace surrounding the + and * operators:

test = [x+1 for x in range(2*2)]

This also happens with - and /. If I disable the plugin, this behavior disappears. Just to be sure, I left braceless.vim enabled and tried disabling every other plugin I have install one at a time, and braceless.vim is the only one that seems to interact with this.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions