]> git.notmuchmail.org Git - notmuch/blobdiff - vim/plugin/notmuch.vim
vim: fix regexp for cleaning search list
[notmuch] / 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
                 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
                 endfor
         endif
         setlocal nomodifiable