diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-05 23:25:24 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-05 23:25:24 +1200 |
commit | e8f5b912533565debbcd79ed3eba9b1fb7fe8085 (patch) | |
tree | 899619ab2c5a240a41f4257472a9b3eff0d6d32f | |
parent | Merge branch 'release/v2.0.0' into develop (diff) | |
download | vim-redact-pass-e8f5b912533565debbcd79ed3eba9b1fb7fe8085.tar.gz vim-redact-pass-e8f5b912533565debbcd79ed3eba9b1fb7fe8085.zip |
Remove unneeded function name
-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 |