]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vim/plugin/ggrep.vim
HI flag
[dotfiles.git] / vim / .vim / plugin / ggrep.vim
index 8a9bd8a5b70db4d8247446d045cf6b150be78747..26f3d17524fd7f1926f98847c82558f542d0c68a 100644 (file)
@@ -1,10 +1,6 @@
-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>)
+}