Skip to content

Commit cdecda7

Browse files
committed
Fix undolevels
1 parent 6c82bc8 commit cdecda7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoload/ddc/map.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function ddc#map#complete_common_string() abort
4141
endif
4242

4343
" Create new undo point
44-
let &undolevels = &undolevels
44+
let &l:undolevels = &l:undolevels
4545

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

9393
" Create new undo point
94-
let &undolevels = &undolevels
94+
let &l:undolevels = &l:undolevels
9595

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

0 commit comments

Comments
 (0)