aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-14 19:28:18 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-14 19:28:18 +1200
commitbac5acad0ae8a9929215af063de53e31a4eb4e86 (patch)
treeac852553b6ba6a1a4f446572b3c0e416ab1dc57c /vim/after/ftplugin
parent6e83eb640f4f92dac7a4856dfeeec611bc19ac03 (diff)
downloaddotfiles-bac5acad0ae8a9929215af063de53e31a4eb4e86.tar.gz
dotfiles-bac5acad0ae8a9929215af063de53e31a4eb4e86.zip
Use more idiomatic check for empty string
Diffstat (limited to 'vim/after/ftplugin')
-rw-r--r--vim/after/ftplugin/mail.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim
index fd67bc51..2894ec2b 100644
--- a/vim/after/ftplugin/mail.vim
+++ b/vim/after/ftplugin/mail.vim
@@ -53,7 +53,7 @@ for lnum in range(1, line('$'))
" Get the leading quote string, if any; skip if there isn't one
let quote = matchstr(line, '^>[> ]*')
- if strlen(quote) == 0
+ if !strlen(quote)
continue
endif