File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -124,3 +124,8 @@ with versions that does not have this variable.
124
124
125
125
* Fixes highlight function to work when passes more than one option, or options
126
126
with double dashes(--option) Thank's to @MiguelLatorre and @mannih
127
+
128
+ ### 1.0.8
129
+
130
+ * Fixes (again) highlight, now using negative look behind.
131
+ * Change mappings ` o ` and ` O ` to behave as documented
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ function! ack#Ack(cmd, args)
8
8
else
9
9
let l: grepargs = a: args . join (a: 000 , ' ' )
10
10
end
11
+ echom l: grepargs
11
12
let l: ackprg_run = g: ackprg
12
13
13
14
" Format, used to manage column jump
@@ -111,7 +112,7 @@ function! s:highlight(args)
111
112
return
112
113
endif
113
114
114
- let @/ = matchstr (a: args , " \\ v[^-]{1,2} \\ s \\ zs \\ w+ \> |['\" ]\\ zs.{-}\\ ze['\" ]" )
115
+ let @/ = matchstr (a: args , " \\ v(-) \@ <!( \< ) \@ <= \\ w+ |['\" ]\\ zs.{-}\\ ze['\" ]" )
115
116
call feedkeys (" :let &l:hlsearch=1 \| echo \<CR> " , " n" )
116
117
endfunction
117
118
You can’t perform that action at this time.
0 commit comments