From d1eb2c6ce55fa3cf3ea97d27c3dbb4c2b69419da Mon Sep 17 00:00:00 2001 From: Bart Trojanowski Date: Fri, 27 Nov 2009 13:06:46 -0500 Subject: vim: make it possible to replace NM_cobine_tags() --- vim/plugin/notmuch.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vim') 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) -- cgit v1.2.3