[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vim's :Global command resets buffer
From: |
Shigio YAMAGUCHI |
Subject: |
Re: vim's :Global command resets buffer |
Date: |
Sun, 28 Apr 2019 16:33:49 +0900 |
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 <address@hidden>:
>
> 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-global
--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint:
26F6 31B4 3D62 4A92 7E6F 1C33 969C 3BE3 89DD A6EB