diff options
Diffstat (limited to 'autoload/colon_operator.vim')
-rw-r--r-- | autoload/colon_operator.vim | 4 |
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@' |