Skip to content

Commit

Permalink
fix: remove unexpected option restore call
Browse files Browse the repository at this point in the history
  • Loading branch information
kuuote committed Jun 6, 2024
1 parent 000e6e7 commit 2c40357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/skkeleton/internal/option.vim
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ endfunction
function skkeleton#internal#option#save_and_set()
" cmdline関係ないオプションだけなので辞書登録時はスキップ
if mode() !=# 'c'
call skkeleton#internal#option#restore()
return
endif
call s:ensure(s:textwidth, bufnr(), &l:textwidth)
call s:ensure(s:virtualedit, win_getid(), &l:virtualedit)
Expand Down

0 comments on commit 2c40357

Please sign in to comment.