annotate update-vim-syntax @ 541:5cdef8f4360f

Cleanup file type setters.
author edogawaconan <me@myconan.net>
date Tue, 06 Jan 2015 03:26:39 +0900
parents 50fd59a959ea
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
508
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
1 #!/bin/sh
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
2
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
3 if [ ! command -v wget > /dev/null 2>&1 ]; then
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
4 echo wget is required
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
5 exit 1
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
6 fi
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
7
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
8 _get() {
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
9 wget --no-check-certificate -nv "$1"
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
10 }
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
11
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
12 cd "$(dirname "$0")/vendor/vim-syntax"
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
13
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
14 rm -f *.vim
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
15 _get https://vim.googlecode.com/hg/runtime/syntax/ruby.vim
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
16 _get https://vim.googlecode.com/hg/runtime/syntax/eruby.vim
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
17 _get https://vim.googlecode.com/hg/runtime/syntax/scss.vim
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
18 _get https://github.com/kchmck/vim-coffee-script/raw/master/syntax/coffee.vim
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
19 _get https://github.com/slim-template/vim-slim/raw/master/syntax/slim.vim
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
20 _get https://github.com/elzr/vim-json/raw/master/syntax/json.vim
538
f5b6dba3308b Add syntax highlight for blade (laravel).
edogawaconan <me@myconan.net>
parents: 508
diff changeset
21 _get https://raw.githubusercontent.com/xsbeats/vim-blade/master/syntax/blade.vim
540
50fd59a959ea Add support for lesscss.
edogawaconan <me@myconan.net>
parents: 538
diff changeset
22 _get https://raw.githubusercontent.com/groenewege/vim-less/master/syntax/less.vim