Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Skipping plugins in ~/.janus.rake

  • Loading branch information...
commit 959d3551d5d41490e488df039d95552941ff5908 1 parent 137f4de
@lackac lackac authored
Showing with 13 additions and 0 deletions.
  1. +9 −0 README.markdown
  2. +4 −0 Rakefile
View
9 README.markdown
@@ -62,6 +62,15 @@ If you want to add additional Vim plugins you can do so by adding a
vim_plugin_task "zencoding", "git://github.com/mattn/zencoding-vim.git"
vim_plugin_task "minibufexpl", "git://github.com/fholgado/minibufexpl.vim.git"
+If you do not wish to use one of the plugins Janus provides out of the
+box you can have it skipped using the `skip_plugin_task` method in
+`~/.janus.rake`:
+
+ skip_plugin_task "color-sampler"
+
+**Note**: Skipping the plugin will only apply to installation. It won't
+remove configurations or mappings Janus might have added for it.
+
## Updating to the latest version
To update to the latest version of the distribution, just run `rake`
View
4 Rakefile
@@ -120,6 +120,10 @@ def vim_plugin_task(name, repo=nil)
task :default => name
end
+def skip_vim_plugin(name)
+ Rake::Task[:default].prerequisites.delete(name)
+end
+
vim_plugin_task "ack.vim", "git://github.com/mileszs/ack.vim.git"
vim_plugin_task "color-sampler", "git://github.com/vim-scripts/Color-Sampler-Pack.git"
vim_plugin_task "conque", "http://conque.googlecode.com/files/conque_1.1.tar.gz"
Please sign in to comment.
Something went wrong with that request. Please try again.