aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Bart Trojanowski <bart@jukie.net>2009-11-27 01:31:16 -0500
committerGravatar Bart Trojanowski <bart@jukie.net>2009-11-27 01:31:16 -0500
commita04334e95903cfeb4f26d1820eeeb0ed63487dea (patch)
treee9c9e7b93573c7c0605dc5f832555342d01f2bd0
parent5b8f74b51291171a0d5bb6212dbff17a2c202e8e (diff)
vim: fix regexp for cleaning search list
-rw-r--r--vim/plugin/notmuch.vim2
1 files changed, 1 insertions, 1 deletions
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