diff --git a/autoload/skkeleton/internal/option.vim b/autoload/skkeleton/internal/option.vim index b32e3ccd..f612cc47 100644 --- a/autoload/skkeleton/internal/option.vim +++ b/autoload/skkeleton/internal/option.vim @@ -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)