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