diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-29 13:34:53 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-29 13:34:53 +1200 |
commit | b78db85144fdc1c80bf922fe71864453b45da741 (patch) | |
tree | f0921d5f2c2a7965b092f374f2dc54ca6ae5bd4c /autoload | |
parent | Abbreviate load guard (diff) | |
download | vim-colon-operator-b78db85144fdc1c80bf922fe71864453b45da741.tar.gz vim-colon-operator-b78db85144fdc1c80bf922fe71864453b45da741.zip |
Adjust function scoping
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/colon_operator.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/colon_operator.vim b/autoload/colon_operator.vim index e5918d1..34689ef 100644 --- a/autoload/colon_operator.vim +++ b/autoload/colon_operator.vim @@ -9,7 +9,7 @@ endfunction " Clear command so that we get prompted to input it, set operator function, " and return <expr> motions to run it -function! colon_operator#Map() abort +function! colon_operator#() abort unlet! s:command set operatorfunc=colon_operator#Operatorfunc return 'g@' |