Hi, I have fixed the bug. Thank you for the report. [Patch] RCS file: /sources/global/global/gtags.vim,v retrieving revision 1.31 diff -r1.31 gtags.vim 3,4c3,4 < " Version: 0.6.4 < " Last Modified: Nov 24, 2012 --- > " Version: 0.6.5 > " Last Modified: Oct 21, 2013 276c276 < if a:line =~ '^Gtags' --- > if a:line =~# '^Gtags' 296c296 < if l:c == 'e' --- > if l:c ==# 'e' 338c338 < if l:c !~ '[cenpquv]' --- > if l:c !~# '[cenpquv]' 355c355 < if a:option =~ 'f' --- > if a:option =~# 'f' 387c387 < if l:option =~ 'f' --- > if l:option =~# 'f' 389c389 < elseif l:option =~ 'P' --- > elseif l:option =~# 'P' 391c391 < elseif l:option =~ 'g' --- > elseif l:option =~# 'g' 433c433 < if l:option =~ 'f' --- > if l:option =~# 'f' 481c481 < if s:option == 'g' --- > if s:option ==# 'g' 483c483 < elseif s:option == 'f' --- > elseif s:option ==# 'f'
2013/10/20 xing du <[email protected]> > Hi, > > The bug is described in the subject. > =====Bug Cause > This bug is caused by using '!~' to trim '-p' option, which will trim '-P' > option too after 'set ignorecase' in vim. > =====Bug Fix Suggestion > use '!~#' instead of '!~' in s:TrimOption > gtags.vim > 288 " > 289 " Trim options to avoid errors. > 290 " > 291 function! s:TrimOption(option) > ... > 298 if c !~# '[cenpquv]' > ... > 304 endfunction > === > > Thanks > > _______________________________________________ > Bug-global mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/bug-global > > -- Shigio YAMAGUCHI <[email protected]> PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
_______________________________________________ Bug-global mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-global
