forked from wklken/k-vim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
去除默认插件中javascript自动补全, 注释,需要自己开启&安装,并执行enable_others.sh
- Loading branch information
wklken
committed
Jun 1, 2014
1 parent
57cba7b
commit 5241e39
Showing
3 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
# refer spf13-vim bootstrap.sh` | ||
BASEDIR=$(dirname $0) | ||
cd $BASEDIR | ||
CURRENT_DIR=`pwd` | ||
|
||
lnif() { | ||
if [ -e "$1" ]; then | ||
ln -sf "$1" "$2" | ||
fi | ||
} | ||
|
||
# 支持javascript自动补全, 需要安装.vimrc.bundles中 marijnh/tern_for_vim 且使用npm安装之 | ||
# for javascript tern | ||
lnif $CURRENT_DIR/others/tern-project $HOME/.tern-project | ||
|
||
lnif $HOME/.vim/bundle/tern_for_vim/after/ftplugin/javascript_tern.vim $HOME/.vim/bundle/tern_for_vim/after/ftplugin/html_tern.vim | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"libs": [ | ||
"browser", | ||
"jquery" | ||
], | ||
"loadEagerly": [ | ||
"importantfile.js" | ||
], | ||
"plugins": { | ||
"requirejs": { | ||
"baseURL": "./", | ||
"paths": {} | ||
} | ||
} | ||
} |
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