summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2014-08-13 00:55:50 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2014-08-13 00:55:50 +0200
commit964107c604a3dc559c30febfe2a08be31659170d (patch)
treeb4a8eea9167566ac207604e973fd907e5bcdb7f2 /build
parentc0560d6199fe261dfd1aca6310558dc82f759fe3 (diff)
downloadvim-polyglot-1.10.0.tar.gz
vim-polyglot-1.10.0.zip
Switch to official go package, closes #28v1.10.0
Diffstat (limited to 'build')
-rwxr-xr-xbuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/build b/build
index 157be753..ba798d5d 100755
--- a/build
+++ b/build
@@ -3,6 +3,7 @@
set -E
DIRS="syntax indent compiler autoload ftplugin ftdetect after/syntax after/indent after/ftplugin after/ftdetect"
+DIRS_BASIC="syntax indent ftdetect after/syntax after/indent after/ftdetect"
download() {
for pack in $1; do
@@ -21,10 +22,11 @@ extract() {
name="$(printf "$pack" | cut -d ':' -f 1)"
path="$(printf "$pack" | cut -d ':' -f 2)"
dir="tmp/$(printf "$path" | cut -d '/' -f 2)"
+ directories="DIRS$(printf "$pack" | cut -d ':' -f 3)"
printf -- "- [$name](https://github.com/$path) ("
subdirs=""
- for subdir in $DIRS; do
+ for subdir in ${!directories}; do
if [ -d "$dir/$subdir" ]; then
base="$(basename "$subdir")"
if [[ "$subdirs" != *"$base"* ]]; then
@@ -82,7 +84,7 @@ PACKS="
emblem:heartsentwined/vim-emblem
erlang:oscarh/vimerl
git:tpope/vim-git
- go:jnwhiteh/vim-golang
+ go:fatih/vim-go:_BASIC
haml:tpope/vim-haml
handlebars:mustache/vim-mustache-handlebars
haskell:travitch/hasksyn