aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-07 22:04:17 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-07 22:04:17 +1200
commit8d7abe7b99052f3f526b224480ada7909b67566c (patch)
treec9f93c8ae8f8065f644dbf8c2f9419693f77058c
parentInitial commit (diff)
downloadvim-copy-linebreak-8d7abe7b99052f3f526b224480ada7909b67566c.tar.gz
vim-copy-linebreak-8d7abe7b99052f3f526b224480ada7909b67566c.zip
Clear cache variable on use
-rw-r--r--plugin/copy_linebreak.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/copy_linebreak.vim b/plugin/copy_linebreak.vim
index a7d8a3e..7efa8cc 100644
--- a/plugin/copy_linebreak.vim
+++ b/plugin/copy_linebreak.vim
@@ -28,6 +28,7 @@ endfunction
function! s:CopyLinebreakDisable()
setlocal linebreak linebreak?
let &showbreak = s:showbreak_save
+ unlet s:showbreak_save
if exists('+breakindent')
setlocal breakindent<
endif