projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efa9df2
)
vim: make it possible to replace NM_cobine_tags()
author
Bart Trojanowski
<bart@jukie.net>
Fri, 27 Nov 2009 18:06:46 +0000
(13:06 -0500)
committer
Bart Trojanowski
<bart@jukie.net>
Fri, 27 Nov 2009 18:06:46 +0000
(13:06 -0500)
vim/plugin/notmuch.vim
patch
|
blob
|
history
diff --git
a/vim/plugin/notmuch.vim
b/vim/plugin/notmuch.vim
index daff4aab120dcb9cce5c0c1e3c858ac95de56e8c..8ef6ac5a210da51ba8bf74d3001b4083593fe8e0 100644
(file)
--- a/
vim/plugin/notmuch.vim
+++ b/
vim/plugin/notmuch.vim
@@
-1213,7
+1213,7
@@
endfunction
" example:
" NM_combine_tags('tag:', ['one', 'two', 'three'], 'OR', '()')
" -> ['(', 'tag:one', 'OR', 'tag:two', 'OR', 'tag:three', ')']
-function s:NM_combine_tags(word_prefix, words, separator, brackets)
+function
!
s:NM_combine_tags(word_prefix, words, separator, brackets)
let res = []
for word in a:words
if len(res) && strlen(a:separator)