From bac5acad0ae8a9929215af063de53e31a4eb4e86 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 14 Jun 2019 19:28:18 +1200 Subject: Use more idiomatic check for empty string --- vim/after/ftplugin/mail.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3