File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1546,6 +1546,7 @@ endfunction
1546
1546
" CreateGrepDictionary {{{
1547
1547
function ! s: CreateGrepDictionary ()
1548
1548
if exists (" s:Dict" )
1549
+ call s: CheckDefaultUserPattern ()
1549
1550
return
1550
1551
endif
1551
1552
@@ -1871,7 +1872,6 @@ endfunction
1871
1872
" Extension Tracking {{{
1872
1873
" SetCurrentExtension {{{
1873
1874
function ! s: SetCurrentExtension ()
1874
- call s: CreateGrepDictionary ()
1875
1875
if ! empty (&buftype )
1876
1876
return
1877
1877
endif
@@ -1889,6 +1889,7 @@ function! s:SetCurrentExtension()
1889
1889
endif
1890
1890
endif
1891
1891
1892
+ call s: CreateGrepDictionary ()
1892
1893
let tempList = s: GetFileTargetList_Tracked ()
1893
1894
1894
1895
" When in tracked mode, change the tracked extension if it isn't
@@ -3541,9 +3542,8 @@ if !exists("g:EasyGrepFilesToExclude")
3541
3542
let g: EasyGrepFilesToExclude= " *.swp,*~"
3542
3543
endif
3543
3544
3544
- " EasyGrepDefaultUserPattern {{{
3545
+ " CheckDefaultUserPattern {{{
3545
3546
function ! s: CheckDefaultUserPattern ()
3546
- call s: CreateGrepDictionary ()
3547
3547
let error = " "
3548
3548
let userModeAndEmpty = (g: EasyGrepMode == s: EasyGrepModeUser ) && empty (s: Dict [s: EasyGrepModeUser ][1 ])
3549
3549
if exists (" g:EasyGrepDefaultUserPattern" )
You can’t perform that action at this time.
0 commit comments