quiet when unite isn't installed yet

Mon, 22 May 2017 16:44:42 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 22 May 2017 16:44:42 -0400
changeset 577
c3ecffb36fb7
parent 576
646a1e199207
child 578
3e4703eef23d

quiet when unite isn't installed yet

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -396,10 +396,13 @@ let g:tagbar_type_elixir = {
 \ }
 
 ">> Unite
-" call unite#filters#matcher_default#use(['matcher_fuzzy'])
-call unite#filters#sorter_default#use(['sorter_rank'])
+try
+  " call unite#filters#matcher_default#use(['matcher_fuzzy'])
+  call unite#filters#sorter_default#use(['sorter_rank'])
 
-call unite#custom#profile('default', 'context', {'winheight': 10})
+  call unite#custom#profile('default', 'context', {'winheight': 10})
+catch
+endtry
 
 if executable('ag')
   let g:unite_source_grep_command = 'ag'

mercurial