aboutsummaryrefslogtreecommitdiff
path: root/autoload/replace_operator.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/replace_operator.vim')
-rw-r--r--autoload/replace_operator.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/replace_operator.vim b/autoload/replace_operator.vim
index 7d73b5e..96e7c90 100644
--- a/autoload/replace_operator.vim
+++ b/autoload/replace_operator.vim
@@ -19,7 +19,7 @@ function! replace_operator#Operatorfunc(type) abort
" Build normal mode keystrokes to select the operated text in visual mode
if a:type ==# 'line'
- let select = '''[V'']'
+ let select = "'[V']"
elseif a:type ==# 'block'
let select = "`[\<C-V>`]"
else
@@ -44,7 +44,7 @@ function! replace_operator#Operatorfunc(type) abort
endfunction
" Helper function for normal mode map
-function! replace_operator#Map(register) abort
+function! replace_operator#(register) abort
let s:register = a:register
set operatorfunc=replace_operator#Operatorfunc
return 'g@'