bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

'Gtags -P <filename>' in vim not work after 'set ignorecase'


From: xing du
Subject: 'Gtags -P <filename>' in vim not work after 'set ignorecase'
Date: Sun, 20 Oct 2013 13:25:03 +0800

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]