Add vital file for crystal, fixes #259

This commit is contained in:
Adam Stankiewicz 2017-12-30 11:26:56 +01:00
parent bb85059bac
commit 4855e5ee82
No known key found for this signature in database
GPG Key ID: A62480DCEAC884DF
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,10 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
crystal
a977489
Process
Web.JSON
ColorEcho
endif

2
build
View File

@ -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")"