From 3b9c6706ca374d4341243f53d7cf9b32227cfcb4 Mon Sep 17 00:00:00 2001 From: ZyX Date: Sun, 3 Mar 2013 19:19:22 +0400 Subject: [PATCH] Added support for vim-addon-manager, fixed indentation Without proper indenting code snippets break list --- README.md | 28 ++++++++++++++++++++-------- addon-info.json | 5 +++++ 2 files changed, 25 insertions(+), 8 deletions(-) create mode 100644 addon-info.json diff --git a/README.md b/README.md index a3486c8..ca5d8cd 100644 --- a/README.md +++ b/README.md @@ -30,10 +30,10 @@ required files into your `.vim` folder. 1. Setup the [vundle](https://github.com/gmarik/vundle) package manager 2. Set the bundles for [Neocomplecache](https://github.com/Shougo/neocomplcache) and [Neobundle](https://github.com/Shougo/neosnippet) -``` -Bundle 'Shougo/neocomplcache.git' -Bundle 'Shougo/neosnippet.git' -``` + ``` + Bundle 'Shougo/neocomplcache.git' + Bundle 'Shougo/neosnippet.git' + ``` 3. Open up Vim and start installation with `:BundleInstall` @@ -42,13 +42,25 @@ Bundle 'Shougo/neosnippet.git' 1. Setup the [neobundle](https://github.com/Shougo/neobundle.vim) package manager 2. Set the bundles for [Neocomplecache](https://github.com/Shougo/neocomplcache) and [Neobundle](https://github.com/Shougo/neosnippet) -``` -NeoBundle 'Shougo/neocomplcache.git' -NeoBundle 'Shougo/neosnippet.git' -``` + ``` + NeoBundle 'Shougo/neocomplcache.git' + NeoBundle 'Shougo/neosnippet.git' + ``` 3. Open up Vim and start installation with `:NeoBundleInstall` +### VAM (vim-addon-manager) + +1. Setup the [vim-addon-manager](https://github.com/MarcWeber/vim-addon-manager) + package manager. +2. Add `neosnippet` to the list of addons in your vimrc: + + ```vim + call vam#ActivateAddons(['neosnippet']) + ``` + + . Installation will start automatically when you open vim next time. + Configuration ------------- diff --git a/addon-info.json b/addon-info.json new file mode 100644 index 0000000..900c9c6 --- /dev/null +++ b/addon-info.json @@ -0,0 +1,5 @@ +{ + "dependencies": { + "neocomplcache": {} + } +}