From fe9ba1525dcda2a7ba2343647469ec5b450a715b Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Thu, 11 Jul 2013 11:10:14 +0900 Subject: [PATCH] - Updated unite.vim check. --- autoload/unite/sources/snippet.vim | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/autoload/unite/sources/snippet.vim b/autoload/unite/sources/snippet.vim index ef48ae5..700e40a 100644 --- a/autoload/unite/sources/snippet.vim +++ b/autoload/unite/sources/snippet.vim @@ -1,7 +1,7 @@ "============================================================================= " FILE: snippet.vim " AUTHOR: Shougo Matsushita -" Last Modified: 05 Mar 2013. +" Last Modified: 11 Jul 2013. " License: MIT license {{{ " Permission is hereby granted, free of charge, to any person obtaining " a copy of this software and associated documentation files (the @@ -28,11 +28,6 @@ let s:save_cpo = &cpo set cpo&vim function! unite#sources#snippet#define() "{{{ - if !exists('*unite#version') || unite#version() < 150 - echoerr 'Your unite.vim is too old.' - return [] - endif - let kind = { \ 'name' : 'snippet', \ 'default_action' : 'expand', @@ -157,12 +152,6 @@ function! unite#sources#snippet#start_complete() "{{{ call neosnippet#util#print_error( \ 'Please install unite.vim Ver.1.5 or above.') return '' - elseif unite#version() < 300 - call neosnippet#util#print_error( - \ 'Your unite.vim is too old.') - call neosnippet#util#print_error( - \ 'Please install unite.vim Ver.3.0 or above.') - return '' endif return unite#start_complete(['snippet'],