aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-29 13:36:03 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-29 13:36:03 +1200
commit915fe15069acbe3f4021a998344eeda921ea1cd9 (patch)
treeb5d809442be9fbb02706e274836ff80cbdb23687 /autoload
parentMerge branch 'release/v0.4.0' (diff)
parentBump VERSION (diff)
downloadvim-colon-operator-master.tar.gz
vim-colon-operator-master.zip
Merge branch 'release/v0.5.0'HEADv0.5.0master
* release/v0.5.0: Update docs Remove unneeded map attributes Adjust function scoping Abbreviate load guard Adjust quoting for legibility
Diffstat (limited to 'autoload')
-rw-r--r--autoload/colon_operator.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/colon_operator.vim b/autoload/colon_operator.vim
index 1469e95..34689ef 100644
--- a/autoload/colon_operator.vim
+++ b/autoload/colon_operator.vim
@@ -4,12 +4,12 @@ function! colon_operator#Operatorfunc(type) abort
if !exists('s:command')
let s:command = input('g:', '', 'command')
endif
- execute '''[,'']'.s:command
+ execute "'[,']".s:command
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@'