aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-25 21:56:53 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-25 21:57:13 +1200
commit54d3232a6d08128a7fb073dbf0eefd167df65fa9 (patch)
tree749d850d3dfbdf69e6c6651c34de67b7cf1cdbb0
parent7ed8926958184a09811314d39233ea4311188b4a (diff)
downloadvim-redact-pass-54d3232a6d08128a7fb073dbf0eefd167df65fa9.tar.gz
vim-redact-pass-54d3232a6d08128a7fb073dbf0eefd167df65fa9.zip
Split an awkward conditional
-rw-r--r--autoload/redact_pass.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/autoload/redact_pass.vim b/autoload/redact_pass.vim
index da1c101..8703213 100644
--- a/autoload/redact_pass.vim
+++ b/autoload/redact_pass.vim
@@ -2,7 +2,8 @@
function! redact_pass#CheckArgsRedact() abort
" Ensure there's one argument and it's the matched file
- if argc() != 1 || fnamemodify(argv(0), ':p') !=# expand('<afile>:p')
+ if argc() != 1
+ \ || fnamemodify(argv(0), ':p') !=# expand('<afile>:p')
return
endif