virtualedit should be setlocal

This commit is contained in:
Reed Esau
2014-01-09 11:49:13 -07:00
parent b827891e33
commit c426f7e7b6

View File

@@ -137,7 +137,7 @@ function! pencil#init(...) abort
if g:pencil#cursorwrap
setlocal whichwrap+=<,>,h,l,[,]
set virtualedit+=onemore " could break other plugins
setlocal virtualedit+=onemore " could break other plugins
endif
" clean out stuff we likely don't want