Skip to content

Commit a4f6b0a

Browse files
benknobledsifford
authored andcommitted
Document solutions to errors caused by 'rtp' (#142)
1 parent f90b582 commit a4f6b0a

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@
99
All instructions can be found at
1010
[draculatheme.com/vim](https://draculatheme.com/vim).
1111

12+
Note that dracula must be in your `'runtimepath'` to load properly: Version 2.0
13+
introduced autoload functionality for part of the plugin, which doesn't work
14+
without `'runtimepath'` properly set.
15+
16+
For users of Vim 8's `|packages|` feature, it suffices to put
17+
packadd! dracula
18+
colorscheme dracula
19+
in your vimrc. For users of other plugin managers, consult your documentation
20+
to make sure you put dracula on the `'runtimepath'` before loading it.
21+
1222
## Team
1323

1424
This theme is maintained by the following person(s) and a bunch of

doc/dracula.txt

+13-1
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,24 @@ USAGE *dracula-usage*
3636

3737
Install it with your favorite plugin manager, and then >
3838
colorscheme dracula
39-
in your vimrc !
39+
in your vimrc! See also |dracula_runtimepath|.
4040

4141
If you are an airline user, you can also do >
4242
let g:airline_theme='dracula'
4343
to have airline use Dracula.
4444

45+
*dracula_runtimepath*
46+
47+
Note that dracula must be in your 'runtimepath' for this command to work
48+
properly: Version 2.0 introduced autoload functionality for part of the
49+
plugin, which doesn't work without 'runtimepath' properly set.
50+
51+
For users of Vim 8's |packages| feature, it suffices to put >
52+
packadd! dracula
53+
colorscheme dracula
54+
in your vimrc. For users of other plugin managers, consult your documentation
55+
to make sure you put dracula on the 'runtimepath' before loading it.
56+
4557
==============================================================================
4658
CONFIGURATION *dracula-configuration*
4759

0 commit comments

Comments
 (0)