We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb66c66 commit 97978c2Copy full SHA for 97978c2
plugin/grepper.vim
@@ -1084,7 +1084,8 @@ endif
1084
command! -nargs=* -complete=customlist,grepper#complete Grepper call <sid>parse_flags(<q-args>)
1085
1086
for s:tool in g:grepper.tools
1087
- let s:utool = toupper(s:tool[0]) . s:tool[1:]
+ let s:utool = substitute(toupper(s:tool[0]) . s:tool[1:], '-\(.\)',
1088
+ \ '\=toupper(submatch(1))', 'g')
1089
execute 'command! -nargs=+ -complete=file Grepper'. s:utool
1090
\ 'Grepper -noprompt -tool' s:tool '-query <args>'
1091
endfor
0 commit comments