From a4f6b0abe6cad85330867a54893864e0d5c59359 Mon Sep 17 00:00:00 2001 From: "D. Ben Knoble" Date: Sun, 2 Jun 2019 22:52:03 +0100 Subject: [PATCH] Document solutions to errors caused by 'rtp' (#142) --- README.md | 10 ++++++++++ doc/dracula.txt | 14 +++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0fbd467..a660570 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,16 @@ All instructions can be found at [draculatheme.com/vim](https://draculatheme.com/vim). +Note that dracula must be in your `'runtimepath'` to load properly: Version 2.0 +introduced autoload functionality for part of the plugin, which doesn't work +without `'runtimepath'` properly set. + +For users of Vim 8's `|packages|` feature, it suffices to put + packadd! dracula + colorscheme dracula +in your vimrc. For users of other plugin managers, consult your documentation +to make sure you put dracula on the `'runtimepath'` before loading it. + ## Team This theme is maintained by the following person(s) and a bunch of diff --git a/doc/dracula.txt b/doc/dracula.txt index ee42f81..4576cd1 100644 --- a/doc/dracula.txt +++ b/doc/dracula.txt @@ -36,12 +36,24 @@ USAGE *dracula-usage* Install it with your favorite plugin manager, and then > colorscheme dracula -in your vimrc ! +in your vimrc! See also |dracula_runtimepath|. If you are an airline user, you can also do > let g:airline_theme='dracula' to have airline use Dracula. + *dracula_runtimepath* + +Note that dracula must be in your 'runtimepath' for this command to work +properly: Version 2.0 introduced autoload functionality for part of the +plugin, which doesn't work without 'runtimepath' properly set. + +For users of Vim 8's |packages| feature, it suffices to put > + packadd! dracula + colorscheme dracula +in your vimrc. For users of other plugin managers, consult your documentation +to make sure you put dracula on the 'runtimepath' before loading it. + ============================================================================== CONFIGURATION *dracula-configuration*