diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-14 19:28:18 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-14 19:28:18 +1200 |
commit | bac5acad0ae8a9929215af063de53e31a4eb4e86 (patch) | |
tree | ac852553b6ba6a1a4f446572b3c0e416ab1dc57c /vim | |
parent | Ensure we're in body text before breaking quotes (diff) | |
download | dotfiles-bac5acad0ae8a9929215af063de53e31a4eb4e86.tar.gz dotfiles-bac5acad0ae8a9929215af063de53e31a4eb4e86.zip |
Use more idiomatic check for empty string
Diffstat (limited to 'vim')
-rw-r--r-- | vim/after/ftplugin/mail.vim | 2 |
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 |