aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugin/ls_grep.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/ls_grep.vim b/plugin/ls_grep.vim
index 82fc0e9..64cde5f 100644
--- a/plugin/ls_grep.vim
+++ b/plugin/ls_grep.vim
@@ -1 +1,6 @@
+if exists("g:loaded_ls_grep")
+ finish
+endif
+let g:loaded_ls_grep = 1
+
command! -nargs=1 LsGrep call ls_grep#LsGrep("<args>")