]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vim/plugin/ggrep.vim
HI flag
[dotfiles.git] / vim / .vim / plugin / ggrep.vim
index 7b52921113ff525e61bca15bf3c45828d7fa4f9a..26f3d17524fd7f1926f98847c82558f542d0c68a 100644 (file)
@@ -1,11 +1,6 @@
-if exists("g:loaded_mein_ggrep") | finish | endif
-let g:loaded_mein_ggrep = 1
+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>)
+}