-if exists('*<SID>Vmg') | finish | endif
+vim9script
-function! s:Vmg(pattern)
- silent execute 'Ggrep "' . a:pattern . '"'
+command! -nargs=* -complete=file Vmg {
+ silent execute "Ggrep \"" .. <q-args> .. '"'
copen
- redraw!
- let g:pylint_disable=1
-endfunction
-
-command! -nargs=* -complete=file Vmg call s:Vmg(<q-args>)
+}