Re: vim's :Global command resets buffer
Andrey Butirsky <[email protected]> Sun, 28 Apr 2019 00:43:47 +0300
| Newsgroups | gmane.comp.gnu.global.bugs |
|---|---|
| Message-ID | <[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