Skip to content

Commit

Permalink
Avoid 'cpoptions' issue with map definition
Browse files Browse the repository at this point in the history
Resolves: tpope#139
  • Loading branch information
tpope committed Aug 17, 2022
1 parent 210bec5 commit 4e5c835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/endwise.vim
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function! s:DefineMap() abort
elseif rhs =~? '<cr>' || rhs =~# '<[Pp]lug>\w\+CR'
exe "imap <silent> <CR>" rhs."<SID>(endwise-append)"
else
imap <silent><script><expr> <CR> EndwiseAppend("\r")
imap <silent><script><expr> <CR> EndwiseAppend("<Bslash>r")
endif
endfunction
call s:DefineMap()
Expand Down

0 comments on commit 4e5c835

Please sign in to comment.