Re: vim's :Global command resets buffer
Shigio YAMAGUCHI <[email protected]> Sun, 28 Apr 2019 16:33:49 +0900
| Newsgroups | gmane.comp.gnu.global.bugs |
|---|---|
| Message-ID | <CADJmJYotU-caHXHF1U=GHRdG-=0p_88cGAsad0z1o3P42WnDNw@mail.gmail.com> |
Hello, > On 4/28/19 12:18 AM, Andrey Butirsky wrote: > just found strange behavior of gtags.vim: > > :Global command in Vim discards all unsaved changes in current buffer, if the command finds results and jumps to them > > The fix: I have committed your patch. Thank you! Regards, Shigio 2019年4月28日(日) 6:43 Andrey Butirsky <[email protected]>: > > On 4/28/19 12:18 AM, Andrey Butirsky wrote: > > Hello, > > just found strange behavior of gtags.vim: > > :Global command in Vim discards all unsaved changes in current buffer, if the command finds results and jumps to them > > The fix: > > --- /home/bam/.vim/plugin/gtags.vim.orig 2019-01-30 06:18:56.000000000 +0300 > +++ /home/bam/.vim/plugin/gtags.vim 2019-04-28 00:37:21.298901871 +0300 > @@ -479,7 +473,7 @@ > elseif g:Gtags_No_Auto_Jump == 1 > cgete l:result " does not jump > else > - cexpr! l:result " jump > + cexpr l:result " jump > endif > let &efm = l:efm_org > endfunction > > _______________________________________________ > Bug-global mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/bug-global -- Shigio YAMAGUCHI <[email protected]> PGP fingerprint: 26F6 31B4 3D62 4A92 7E6F 1C33 969C 3BE3 89DD A6EB _______________________________________________ Bug-global mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-global