projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
350e013
)
vim: make sure headers begin with \w
author
Bart Trojanowski
<bart@jukie.net>
Fri, 27 Nov 2009 06:02:37 +0000
(
01:02
-0500)
committer
Bart Trojanowski
<bart@jukie.net>
Fri, 27 Nov 2009 06:02:37 +0000
(
01:02
-0500)
vim/plugin/notmuch.vim
patch
|
blob
|
history
diff --git
a/vim/plugin/notmuch.vim
b/vim/plugin/notmuch.vim
index 0adca0b0c574922ec78a90a1e14a74d4a8b9105b..63095ed55592842fe47e44ce49228a88f035e0f9 100644
(file)
--- 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