Generate supported languages automatically
This commit is contained in:
parent
1ef902d053
commit
b4425d2c39
@ -21,12 +21,12 @@ Optionally download one of the [releases](https://github.com/sheerun/vim-polyglo
|
|||||||
|
|
||||||
- [arduino](https://github.com/sudar/vim-arduino-syntax)
|
- [arduino](https://github.com/sudar/vim-arduino-syntax)
|
||||||
- [bundler](https://github.com/tpope/vim-bundler)
|
- [bundler](https://github.com/tpope/vim-bundler)
|
||||||
- [c/c++](https://github.com/vim-jp/cpp-vim)
|
|
||||||
- [c++11](https://github.com/octol/vim-cpp-enhanced-highlight)
|
- [c++11](https://github.com/octol/vim-cpp-enhanced-highlight)
|
||||||
|
- [c/c++](https://github.com/vim-jp/cpp-vim)
|
||||||
- [clojure](https://github.com/guns/vim-clojure-static)
|
- [clojure](https://github.com/guns/vim-clojure-static)
|
||||||
- [coffee-script](https://github.com/kchmck/vim-coffee-script)
|
- [coffee-script](https://github.com/kchmck/vim-coffee-script)
|
||||||
|
- [css-color](https://github.com/ap/vim-css-color)
|
||||||
- [csv](https://github.com/chrisbra/csv.vim)
|
- [csv](https://github.com/chrisbra/csv.vim)
|
||||||
- [css colors](https://github.com/ap/vim-css-color)
|
|
||||||
- [cucumber](https://github.com/tpope/vim-cucumber)
|
- [cucumber](https://github.com/tpope/vim-cucumber)
|
||||||
- [elixir](https://github.com/elixir-lang/vim-elixir)
|
- [elixir](https://github.com/elixir-lang/vim-elixir)
|
||||||
- [erlang](https://github.com/jimenezrick/vimerl)
|
- [erlang](https://github.com/jimenezrick/vimerl)
|
||||||
@ -57,8 +57,8 @@ Optionally download one of the [releases](https://github.com/sheerun/vim-polyglo
|
|||||||
- [textile](https://github.com/timcharper/textile.vim)
|
- [textile](https://github.com/timcharper/textile.vim)
|
||||||
- [tmux](https://github.com/acustodioo/vim-tmux)
|
- [tmux](https://github.com/acustodioo/vim-tmux)
|
||||||
- [tomdoc](https://github.com/mutewinter/tomdoc.vim)
|
- [tomdoc](https://github.com/mutewinter/tomdoc.vim)
|
||||||
- [twig](https://github.com/beyondwords/vim-twig)
|
|
||||||
- [vbnet](https://github.com/vim-scripts/vbnet.vim)
|
- [vbnet](https://github.com/vim-scripts/vbnet.vim)
|
||||||
|
- [twig](https://github.com/beyondwords/vim-twig)
|
||||||
- [xls](https://github.com/vim-scripts/XSLT-syntax)
|
- [xls](https://github.com/vim-scripts/XSLT-syntax)
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
94
build
94
build
@ -21,10 +21,12 @@ copy_dir() {
|
|||||||
|
|
||||||
download() {
|
download() {
|
||||||
for pack in $1; do
|
for pack in $1; do
|
||||||
dir="tmp/$(echo "$pack" | cut -d '/' -f 2)"
|
name="$(echo $pack | cut -d ':' -f 1)"
|
||||||
echo "- [$pack](https://github.com/$pack)"
|
path="$(echo $pack | cut -d ':' -f 2)"
|
||||||
|
dir="tmp/$(echo "$path" | cut -d '/' -f 2)"
|
||||||
|
echo "- [$name](https://github.com/$path)"
|
||||||
rm -rf "$dir"
|
rm -rf "$dir"
|
||||||
git clone -q --recursive "https://github.com/$pack.git" "$dir" &
|
git clone -q --recursive "https://github.com/$path.git" "$dir" &
|
||||||
done
|
done
|
||||||
|
|
||||||
wait
|
wait
|
||||||
@ -32,7 +34,9 @@ download() {
|
|||||||
|
|
||||||
extract() {
|
extract() {
|
||||||
for pack in $1; do
|
for pack in $1; do
|
||||||
dir="tmp/$(echo "$pack" | cut -d '/' -f 2)"
|
path="$(echo $pack | cut -d ':' -f 2)"
|
||||||
|
dir="tmp/$(echo "$path" | cut -d '/' -f 2)"
|
||||||
|
|
||||||
# which tree > /dev/null && tree tmp
|
# which tree > /dev/null && tree tmp
|
||||||
for subdir in $DIRS; do
|
for subdir in $DIRS; do
|
||||||
copy_dir "$dir" "$subdir"
|
copy_dir "$dir" "$subdir"
|
||||||
@ -45,47 +49,47 @@ rm -rf $DIRS
|
|||||||
mkdir -p tmp
|
mkdir -p tmp
|
||||||
|
|
||||||
PACKS="
|
PACKS="
|
||||||
vim-ruby/vim-ruby
|
arduino:sudar/vim-arduino-syntax
|
||||||
kchmck/vim-coffee-script
|
bundler:tpope/vim-bundler
|
||||||
tpope/vim-haml
|
c++11:octol/vim-cpp-enhanced-highlight
|
||||||
tpope/vim-bundler
|
c/c++:vim-jp/cpp-vim
|
||||||
pangloss/vim-javascript
|
clojure:guns/vim-clojure-static
|
||||||
leshill/vim-json
|
coffee-script:kchmck/vim-coffee-script
|
||||||
mutewinter/tomdoc.vim
|
css-color:ap/vim-css-color
|
||||||
mutewinter/nginx.vim
|
csv:chrisbra/csv.vim
|
||||||
timcharper/textile.vim
|
cucumber:tpope/vim-cucumber
|
||||||
tpope/vim-markdown
|
elixir:elixir-lang/vim-elixir
|
||||||
nono/vim-handlebars
|
erlang:jimenezrick/vimerl
|
||||||
acustodioo/vim-tmux
|
git:tpope/vim-git
|
||||||
groenewege/vim-less
|
go:jnwhiteh/vim-golang
|
||||||
wavded/vim-stylus
|
haml:tpope/vim-haml
|
||||||
tpope/vim-cucumber
|
handlebars:nono/vim-handlebars
|
||||||
jrk/vim-ocaml
|
haskell:travitch/hasksyn
|
||||||
slim-template/vim-slim
|
html5:othree/html5.vim
|
||||||
vim-scripts/XSLT-syntax
|
javascript:pangloss/vim-javascript
|
||||||
vim-scripts/python.vim--Vasiliev
|
json:leshill/vim-json
|
||||||
vim-scripts/octave.vim--
|
jst:briancollins/vim-jst
|
||||||
jnwhiteh/vim-golang
|
latex:jcf/vim-latex
|
||||||
spf13/PIV
|
less:groenewege/vim-less
|
||||||
briancollins/vim-jst
|
markdown:tpope/vim-markdown
|
||||||
derekwyatt/vim-scala
|
nginx:mutewinter/nginx.vim
|
||||||
derekwyatt/vim-sbt
|
ocaml:jrk/vim-ocaml
|
||||||
travitch/hasksyn
|
octave:vim-scripts/octave.vim--
|
||||||
ajf/puppet-vim
|
php:spf13/PIV
|
||||||
beyondwords/vim-twig
|
puppet:ajf/puppet-vim
|
||||||
sudar/vim-arduino-syntax
|
python:vim-scripts/python.vim--Vasiliev
|
||||||
guns/vim-clojure-static
|
rspec:skwp/vim-rspec
|
||||||
chrisbra/csv.vim
|
ruby:vim-ruby/vim-ruby
|
||||||
elixir-lang/vim-elixir
|
sbt:derekwyatt/vim-sbt
|
||||||
jimenezrick/vimerl
|
scala:derekwyatt/vim-scala
|
||||||
tpope/vim-git
|
slim:slim-template/vim-slim
|
||||||
skwp/vim-rspec
|
stylus:wavded/vim-stylus
|
||||||
vim-scripts/vbnet.vim
|
textile:timcharper/textile.vim
|
||||||
jcf/vim-latex
|
tmux:acustodioo/vim-tmux
|
||||||
othree/html5.vim
|
tomdoc:mutewinter/tomdoc.vim
|
||||||
ap/vim-css-color
|
vbnet:vim-scripts/vbnet.vim
|
||||||
vim-jp/cpp-vim
|
twig:beyondwords/vim-twig
|
||||||
octol/vim-cpp-enhanced-highlight
|
xls:vim-scripts/XSLT-syntax
|
||||||
"
|
"
|
||||||
|
|
||||||
download "$PACKS"
|
download "$PACKS"
|
||||||
|
Loading…
Reference in New Issue
Block a user