From: Bart Trojanowski Date: Fri, 27 Nov 2009 18:06:46 +0000 (-0500) Subject: vim: make it possible to replace NM_cobine_tags() X-Git-Tag: 0.1~313^2~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d1eb2c6ce55fa3cf3ea97d27c3dbb4c2b69419da;p=notmuch.git vim: make it possible to replace NM_cobine_tags() --- diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index daff4aab..8ef6ac5a 100644 --- 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)