From: Bart Trojanowski Date: Fri, 27 Nov 2009 06:31:16 +0000 (-0500) Subject: vim: fix regexp for cleaning search list X-Git-Tag: 0.1~313^2~16 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a04334e95903cfeb4f26d1820eeeb0ed63487dea;p=notmuch.git vim: fix regexp for cleaning search list --- diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index af812668..b63417b8 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -1270,7 +1270,7 @@ function! s:NM_add_remove_tags_on_screen(online, prefix, tags) endfor else for tagname in a:tags - exec printf('silent! %ss/(\([^)]*\)\([^)]*\))$/(\1 %s)/', string(a:online), tagname) + exec printf('silent! %ss/(\([^)]*\))$/(\1 %s)/', string(a:online), tagname) endfor endif setlocal nomodifiable