Created
July 24, 2009 14:54
-
-
Save alvin2ye/154333 to your computer and use it in GitHub Desktop.
install vim javascript syntax
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# - indent | |
# OP javascript indentation : This indentation script for OOP javascript (especially for EXTJS) | |
# http://www.vim.org/scripts/script.php?script_id=1936 | |
echo "-install indent " | |
cd ~/.vim/indent || mkdir -p ~/.vim/indent | |
wget http://www.vim.org/scripts/download_script.php?src_id=7708 -O ~/.vim/indent/javascript.vim | |
# - syntax | |
# JavaScript syntax : Better JavaScrirpt syntax support | |
# http://www.vim.org/scripts/script.php?script_id=1491 | |
echo "-install syntax" | |
cd ~/.vim/syntax || mkdir -p ~/.vim/syntax | |
wget http://www.vim.org/scripts/download_script.php?src_id=10728 -O ~/.vim/syntax/javascript.vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment