From 6f00cdedee62bf70bfd95534391b50ef2f679d7d Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Mon, 19 Dec 2022 13:36:11 +0100 Subject: [PATCH] docs: typos --- README.md | 6 +++--- lua/lazy/core/config.lua | 2 +- lua/lazy/example.lua | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index af34883..d74a095 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ require("lazy").setup({ | `[1]` | `string?` | Short plugin url. Will be expanded using `config.git.url_format` | | **dir** | `string?` | A directory pointing to a local plugin | | **url** | `string?` | A custom git url where the plugin is hosted | -| **name** | `string?` | A custom name for the plugin used for the local plugin directory and as the dispay name | +| **name** | `string?` | A custom name for the plugin used for the local plugin directory and as the display name | | **dev** | `boolean?` | When `true`, a local plugin directory will be used instead. See `config.dev` | | **lazy** | `boolean?` | When `true`, the plugin will only be loaded when needed. Lazy-loaded plugins are automatically loaded when their lua modules are `required`, or when one of the laz-loading handlers triggers | | **enabled** | `boolean?` or `fun():boolean` | When `false`, or if the `function` returns false, then this plugin will not be used | @@ -212,7 +212,7 @@ return { keys = { "", "" }, }, - -- local plugins need to be explicitely configured with dir + -- local plugins need to be explicitly configured with dir { dir = "~/projects/secret.nvim" }, -- you can use a custom url to fetch a plugin @@ -281,7 +281,7 @@ return { throttle = 20, -- how frequently should the ui process render events }, checker = { - -- automcatilly check for plugin updates + -- automatically check for plugin updates enabled = false, concurrency = nil, ---@type number? set to 1 to check for updates very slowly notify = true, -- get a notification when new updates are found diff --git a/lua/lazy/core/config.lua b/lua/lazy/core/config.lua index e4354b3..c85821f 100644 --- a/lua/lazy/core/config.lua +++ b/lua/lazy/core/config.lua @@ -50,7 +50,7 @@ M.defaults = { throttle = 20, -- how frequently should the ui process render events }, checker = { - -- automcatilly check for plugin updates + -- automatically check for plugin updates enabled = false, concurrency = nil, ---@type number? set to 1 to check for updates very slowly notify = true, -- get a notification when new updates are found diff --git a/lua/lazy/example.lua b/lua/lazy/example.lua index e91eb50..f3eda6c 100644 --- a/lua/lazy/example.lua +++ b/lua/lazy/example.lua @@ -59,7 +59,7 @@ return { keys = { "", "" }, }, - -- local plugins need to be explicitely configured with dir + -- local plugins need to be explicitly configured with dir { dir = "~/projects/secret.nvim" }, -- you can use a custom url to fetch a plugin