summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--autoload/vital/crystal.vital10
-rwxr-xr-xbuild2
2 files changed, 11 insertions, 1 deletions
diff --git a/autoload/vital/crystal.vital b/autoload/vital/crystal.vital
new file mode 100644
index 00000000..7c1f45ff
--- /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 774a449f..d991a885 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")"