aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--vim/plugin/notmuch.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim
index 0adca0b0..63095ed5 100644
--- a/vim/plugin/notmuch.vim
+++ b/vim/plugin/notmuch.vim
@@ -886,7 +886,7 @@ function! s:NM_cmd_compose(words, body_lines)
let hdrs = { }
for word in a:words
- let m = matchlist(word, '^\([^:]\+\):\s*\(.*\)\s*$')
+ let m = matchlist(word, '^\(\w[^:]*\):\s*\(.*\)\s*$')
if !len(m)
throw 'Eeek! bad parameter ''' . string(word) . ''''
endif