Mon, 22 May 2017 16:44:42 -0400
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'