aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-17 22:20:01 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-17 22:20:01 +1200
commit8ced53b0a1c2e3eac1b0e222737607b662ee5803 (patch)
tree6c72295138bca375cf9a81713c2ff67bdbd98d02
parentAdd version guard (diff)
downloadvim-copy-linebreak-8ced53b0a1c2e3eac1b0e222737607b662ee5803.tar.gz
vim-copy-linebreak-8ced53b0a1c2e3eac1b0e222737607b662ee5803.zip
Use s: not <SID>
-rw-r--r--plugin/copy_linebreak.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/copy_linebreak.vim b/plugin/copy_linebreak.vim
index 89fba9e..2bb19ef 100644
--- a/plugin/copy_linebreak.vim
+++ b/plugin/copy_linebreak.vim
@@ -40,9 +40,9 @@ endfunction
" 'linebreak' option as the pivot
function! s:CopyLinebreakToggle()
if &linebreak
- call <SID>CopyLinebreakEnable()
+ call s:CopyLinebreakEnable()
else
- call <SID>CopyLinebreakDisable()
+ call s:CopyLinebreakDisable()
endif
endfunction