X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=vim%2Fplugin%2Fnotmuch.vim;h=8ef6ac5a210da51ba8bf74d3001b4083593fe8e0;hp=daff4aab120dcb9cce5c0c1e3c858ac95de56e8c;hb=d1eb2c6ce55fa3cf3ea97d27c3dbb4c2b69419da;hpb=efa9df2d49b522cc981dc1ab0637219047753483 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)