summaryrefslogtreecommitdiffstats
path: root/autoload/vital.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--autoload/vital.vim16
1 files changed, 0 insertions, 16 deletions
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