Skip to content

Incorrectly adds \ at end of line #49

@lervag

Description

@lervag

I currently use these options for braceless:

let g:braceless_block_key = 'i'
augroup MyBraceless
  autocmd!
  autocmd User BracelessInit nunmap J
  autocmd User BracelessInit iunmap <cr>
  autocmd FileType python BracelessEnable +indent
augroup END

Given this python code:

if (test == 0

Inserting <cr>and at end of line now gives:

if (test == 0 \
        and

instead of what I would expect:

if (test == 0
    and

I'm curious if this is by design or if I am doing something wrong, or if this is a bug.

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