From 58709c49f6b6ede81dcf87752b09b8f64d84f1fc Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 10 Jan 2018 23:50:02 +0100 Subject: Update --- autoload/vital.vim | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 autoload/vital.vim (limited to 'autoload/vital.vim') diff --git a/autoload/vital.vim b/autoload/vital.vim deleted file mode 100644 index 98fe948f..00000000 --- a/autoload/vital.vim +++ /dev/null @@ -1,16 +0,0 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1 - -function! vital#of(name) abort - let files = globpath(&runtimepath, 'autoload/vital/' . a:name . '.vital') - let file = split(files, "\n") - if empty(file) - throw 'vital: version file not found: ' . a:name - endif - let ver = readfile(file[0], 'b') - if empty(ver) - throw 'vital: invalid version file: ' . a:name - endif - return vital#_{substitute(ver[0], '\W', '', 'g')}#new() -endfunction - -endif -- cgit v1.2.3