diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2018-01-10 23:50:02 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2018-01-10 23:50:02 +0100 |
commit | 58709c49f6b6ede81dcf87752b09b8f64d84f1fc (patch) | |
tree | 3d9a50b80abee303e4663475b7c1e9e6fd4b7f2c /autoload/vital.vim | |
parent | 3d5b784fa59b0e70e0174174ba894054aa5b02bc (diff) | |
download | vim-polyglot-58709c49f6b6ede81dcf87752b09b8f64d84f1fc.tar.gz vim-polyglot-58709c49f6b6ede81dcf87752b09b8f64d84f1fc.zip |
Update
Diffstat (limited to 'autoload/vital.vim')
-rw-r--r-- | autoload/vital.vim | 16 |
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 |