braceless.vim
braceless.vim copied to clipboard
Incorrectly adds \ at end of line
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.