vim: fix regexp for cleaning search list

This commit is contained in:
Bart Trojanowski 2009-11-27 01:31:16 -05:00
parent 5b8f74b512
commit a04334e959

View file

@ -1270,7 +1270,7 @@ function! s:NM_add_remove_tags_on_screen(online, prefix, tags)
endfor endfor
else else
for tagname in a:tags 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 endfor
endif endif
setlocal nomodifiable setlocal nomodifiable