From e14b333ddcba081185d5ebd9201ed0cb209b4d17 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Sun, 23 Jun 2024 18:44:40 +0200 Subject: [PATCH] docs: remove disabled plugins from install instructions --- docs/installation.mdx | 33 ++------------------------------- lua/tpl/install.lua | 15 --------------- 2 files changed, 2 insertions(+), 46 deletions(-) diff --git a/docs/installation.mdx b/docs/installation.mdx index b99147c..06be076 100644 --- a/docs/installation.mdx +++ b/docs/installation.mdx @@ -21,6 +21,7 @@ It is recommended to run `:checkhealth lazy` after installation. :::note In what follows `~/.config/nvim` is your Neovim configuration directory. +On Windows, this is usually `~\AppData\Local\nvim`. To know the correct path for your system, run `:echo stdpath('config')`. ::: @@ -68,27 +69,12 @@ require("lazy").setup({ -- colorscheme that will be used when installing plugins. install = { colorscheme = { "habamax" } }, checker = { enabled = true }, -- automatically check for plugin updates - performance = { - rtp = { - -- uncomment the below to disable some rtp plugins - disabled_plugins = { - -- "gzip", - -- "matchit", - -- "matchparen", - -- "netrwPlugin", - -- "tarPlugin", - -- "tohtml", - -- "tutor", - -- "zipPlugin", - }, - }, - }, }) ``` -You can then create your plugin specs in `lua/plugins`. +You can then create your plugin specs in `~/.config/nvim/lua/plugins/`. Each file should return a table with the plugins you want to install. For more info see [Structuring Your Plugins](/usage/structuring) @@ -144,21 +130,6 @@ require("lazy").setup({ -- colorscheme that will be used when installing plugins. install = { colorscheme = { "habamax" } }, checker = { enabled = true }, -- automatically check for plugin updates - performance = { - rtp = { - -- uncomment the below to disable some rtp plugins - disabled_plugins = { - -- "gzip", - -- "matchit", - -- "matchparen", - -- "netrwPlugin", - -- "tarPlugin", - -- "tohtml", - -- "tutor", - -- "zipPlugin", - }, - }, - }, }) ``` diff --git a/lua/tpl/install.lua b/lua/tpl/install.lua index 9954180..d6d9f56 100644 --- a/lua/tpl/install.lua +++ b/lua/tpl/install.lua @@ -28,19 +28,4 @@ require("lazy").setup({ -- colorscheme that will be used when installing plugins. install = { colorscheme = { "habamax" } }, checker = { enabled = true }, -- automatically check for plugin updates - performance = { - rtp = { - -- uncomment the below to disable some rtp plugins - disabled_plugins = { - -- "gzip", - -- "matchit", - -- "matchparen", - -- "netrwPlugin", - -- "tarPlugin", - -- "tohtml", - -- "tutor", - -- "zipPlugin", - }, - }, - }, })