Windows changes -- I can cinst git + ctags + ag easily

Fri, 18 Jul 2014 19:43:31 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 18 Jul 2014 19:43:31 -0400
changeset 114
599b1b279478
parent 111
99cc7b567195
child 115
6d6751c819ad

Windows changes -- I can cinst git + ctags + ag easily

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -21,7 +21,8 @@ end
 
   if !filereadable(vundle_readme)
     if !executable('git')
-      echo "You probably want git installed and in PATH"
+      echo "You probably want git installed and in PATH."
+      echo " http://chocolatey.org "
       quit
     endif
 
@@ -279,7 +280,10 @@ endif
 
 ">> Tagbar
 if on_windows == 1
-  let g:tagbar_ctags_bin = 'C:\Users\mhoward\bin\ctags.exe'
+  if executable('ctags') == 0
+    " if i haven't installed from chocolatey...
+    let g:tagbar_ctags_bin = 'C:\Users\mhoward\bin\ctags.exe'
+  endif
 endif
 
 let g:tagbar_autoclose = 1

mercurial