vim: fix regexp for cleaning search list
authorBart Trojanowski <bart@jukie.net>
Fri, 27 Nov 2009 06:31:16 +0000 (01:31 -0500)
committerBart Trojanowski <bart@jukie.net>
Fri, 27 Nov 2009 06:31:16 +0000 (01:31 -0500)
vim/plugin/notmuch.vim

index af81266822bd095835cf37bc7c81ee42b616c925..b63417b8bf0464ae693f3c5913a773540431a7dd 100644 (file)
@@ -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