Add vital file for crystal, fixes #259
This commit is contained in:
parent
bb85059bac
commit
4855e5ee82
10
autoload/vital/crystal.vital
Normal file
10
autoload/vital/crystal.vital
Normal 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
2
build
@ -80,7 +80,7 @@ extract() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
copy_dir() {
|
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/}")"
|
file_path="$(dirname "${file##$1/}")"
|
||||||
mkdir -p "$file_path"
|
mkdir -p "$file_path"
|
||||||
touch "$file_path/$(basename "$file")"
|
touch "$file_path/$(basename "$file")"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user