From 4855e5ee82a6871b4330ee00626dead1ee874f5b Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 30 Dec 2017 11:26:56 +0100 Subject: [PATCH] Add vital file for crystal, fixes #259 --- autoload/vital/crystal.vital | 10 ++++++++++ build | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 autoload/vital/crystal.vital diff --git a/autoload/vital/crystal.vital b/autoload/vital/crystal.vital new file mode 100644 index 0000000..7c1f45f --- /dev/null +++ b/autoload/vital/crystal.vital @@ -0,0 +1,10 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1 + +crystal +a977489 + +Process +Web.JSON +ColorEcho + +endif diff --git a/build b/build index 774a449..d991a88 100755 --- a/build +++ b/build @@ -80,7 +80,7 @@ extract() { } copy_dir() { - for file in $(find "$1/$2" -name '*.vim'); do + for file in $(find "$1/$2" -name '*.vim' -o -name '*.vital'); do file_path="$(dirname "${file##$1/}")" mkdir -p "$file_path" touch "$file_path/$(basename "$file")"