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