summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryushyin <yushyin@saga>2016-02-13 16:14:12 +0100
committeryushyin <yushyin@saga>2016-02-13 16:14:12 +0100
commit395c84da5126d0861151826389df358526a4f4a2 (patch)
treecee7f779487c843294b94e5893a2e0aee4fb5564
parent735933f28ca2b2c08a498fd7e8421222538010b8 (diff)
downloaddotfiles-395c84da5126d0861151826389df358526a4f4a2.tar.gz
dotfiles-395c84da5126d0861151826389df358526a4f4a2.tar.xz
Vim: Add vim-addon-local-vimrc plugin
-rw-r--r--vim/neobundle.toml3
-rw-r--r--vim/vimrc4
2 files changed, 7 insertions, 0 deletions
diff --git a/vim/neobundle.toml b/vim/neobundle.toml
index e971783..b2cc772 100644
--- a/vim/neobundle.toml
+++ b/vim/neobundle.toml
@@ -123,3 +123,6 @@ on_ft = 'rust'
[[plugins]]
repository = 'racer-rust/vim-racer'
on_ft = 'rust'
+
+[[plugins]]
+repository = 'MarcWeber/vim-addon-local-vimrc'
diff --git a/vim/vimrc b/vim/vimrc
index 9eea73a..0d0217d 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -79,6 +79,10 @@ if neobundle#tap('vim-racer')
let $RUST_SRC_PATH= $XDG_DATA_HOME . '/rustc_src_latest/src/'
endfunction
endif
+if neobundle#tap('vim-addon-local-vimrc')
+ let g:local_vimrc = {'names':['.lvimrc'],'hash_fun':'LVRHashOfFile'}
+ call neobundle#untap()
+endif
if neobundle#tap('base16-vim')
set bg=dark
let base16colorspace=256