diff options
-rw-r--r-- | autoload/redact_pass.vim | 2 | ||||
-rw-r--r-- | plugin/redact_pass.vim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/autoload/redact_pass.vim b/autoload/redact_pass.vim index 8703213..afcf6e4 100644 --- a/autoload/redact_pass.vim +++ b/autoload/redact_pass.vim @@ -1,5 +1,5 @@ " Check whether we should set redacting options or not -function! redact_pass#CheckArgsRedact() abort +function! redact_pass#() abort " Ensure there's one argument and it's the matched file if argc() != 1 diff --git a/plugin/redact_pass.vim b/plugin/redact_pass.vim index 06c5606..14705ac 100644 --- a/plugin/redact_pass.vim +++ b/plugin/redact_pass.vim @@ -20,5 +20,5 @@ augroup redact_pass \ /dev/shm/pass.?*/?*.txt \,$TMPDIR/pass.?*/?*.txt \,/tmp/pass.?*/?*.txt - \ call redact_pass#CheckArgsRedact() + \ call redact_pass#() augroup END |