You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When set ignorecase is specified in .vimrc, the substitution pattern in function ack#Ack will also become case-insensitive.
*'ignorecase'* *'ic'* *'noignorecase'* *'noic'*
'ignorecase' 'ic' boolean (default off)
global
Ignore case in search patterns. Also used when searching in the tags
file.
Also see 'smartcase'.
Can be overruled by using "\c" or "\C" in the pattern, see
|/ignorecase|.
The -h in --hidden from the value of g:ackprg will be substituted by '', leaving a wrong-shaped command ag --vimgrep -idden --ignore .git.
Plugin Version
Bug Reproduction
.vimrc
Input command in Vim
:AckFile! filename
Error appeared in Quickfix List
Expected behavior
No error appears.
Possible Cause
When
set ignorecase
is specified in.vimrc
, the substitution pattern in functionack#Ack
will also become case-insensitive.The
-h
in--hidden
from the value ofg:ackprg
will be substituted by''
, leaving a wrong-shaped commandag --vimgrep -idden --ignore .git
.ack.vim/autoload/ack.vim
Lines 28 to 31 in 36e40f9
Fix
Append
\C
to the patternThe text was updated successfully, but these errors were encountered: