From d1ed91d8c7f6148e56794a7d8238a5e346f9ec06 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Sat, 31 Dec 2022 00:32:19 +0100 Subject: [PATCH] docs: fixed code block --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8dd429b..7621ea2 100644 --- a/README.md +++ b/README.md @@ -675,11 +675,12 @@ For a real-life example, you can check my personal dots: - `module` is auto-loaded. No need to specify - `keys` spec is [different](#%EF%B8%8F-lazy-key-mappings) - `rtp` can be accomplished with: - ```lua - config = function(plugin) - vim.opt.rtp:append(plugin.dir .. "/rtpPath") - end - ``` + +```lua +config = function(plugin) + vim.opt.rtp:append(plugin.dir .. "/custom-rtp") +end +``` With packer `wants`, `requires` and `after` can be used to manage dependencies. With lazy, this isn't needed for most of the lua dependencies. They can be installed just like normal plugins