Skip to content

Commit

Permalink
Fix undolevels
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Dec 6, 2024
1 parent 6c82bc8 commit cdecda7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/ddc/map.vim
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function ddc#map#complete_common_string() abort
endif

" Create new undo point
let &undolevels = &undolevels
let &l:undolevels = &l:undolevels

let chars = ''
" NOTE: Change backspace option to work <BS> correctly
Expand Down Expand Up @@ -91,7 +91,7 @@ function ddc#map#insert_item(number) abort
endif

" Create new undo point
let &undolevels = &undolevels
let &l:undolevels = &l:undolevels

let chars = ''
" NOTE: Change backspace option to work <BS> correctly
Expand Down

0 comments on commit cdecda7

Please sign in to comment.