From 299dcc6055a17d40d0f65e98b38c59c1d6a9f433 Mon Sep 17 00:00:00 2001 From: Julien Rabier Date: Mon, 23 Jan 2023 10:46:31 +0100 Subject: [PATCH] [nvim] pull latest from starter --- private_dot_config/nvim/README.md | 47 ++------------------- private_dot_config/nvim/lua/config/lazy.lua | 9 ++-- 2 files changed, 8 insertions(+), 48 deletions(-) diff --git a/private_dot_config/nvim/README.md b/private_dot_config/nvim/README.md index 4a9c00d..185280b 100644 --- a/private_dot_config/nvim/README.md +++ b/private_dot_config/nvim/README.md @@ -1,45 +1,4 @@ -# LazyVim +# 💤 LazyVim -A starter template for [LazyVim](https://github.com/LazyVim/LazyVim) - -## 🚀 Getting Started - -This repo contains an example setup for -[LazyVim](https://github.com/LazyVim/LazyVim) - -### 1. Make a backup of your current Neovim files: - -```sh -mv ~/.config/nvim ~/.config/nvim.bak -mv ~/.local/share/nvim ~/.local/share/nvim.bak -``` - -### 2. Clone the starter - -```sh -git clone https://github.com/LazyVim/starter ~/.config/nvim -``` - -### 3. Start Neovim! - -```sh -nvim -``` - -Refer to the comments in the files on how to customize **LazyVim**. - -## 📂 File Structure - -
-~/.config/nvim
-├── lua
-│   ├── config
-│   │   ├── autocmds.lua
-│   │   ├── keymaps.lua
-│   │   ├── lazy.lua
-│   │   └── options.lua
-│   └── plugins
-│       └── example.lua
-├── init.lua
-└── stylua.toml
-
+A starter template for [LazyVim](https://github.com/LazyVim/LazyVim). +Refer to the [documentation](https://lazyvim.github.io/installation) to get started. diff --git a/private_dot_config/nvim/lua/config/lazy.lua b/private_dot_config/nvim/lua/config/lazy.lua index 6180096..6aa70f3 100644 --- a/private_dot_config/nvim/lua/config/lazy.lua +++ b/private_dot_config/nvim/lua/config/lazy.lua @@ -8,13 +8,14 @@ vim.opt.rtp:prepend(vim.env.LAZY or lazypath) require("lazy").setup({ spec = { - -- import LazyVim plugins + -- add LazyVim and import its plugins { "LazyVim/LazyVim", import = "lazyvim.plugins" }, -- import/override with your plugins { import = "plugins" }, -- import any extras modules here -- { import = "lazyvim.plugins.extras.lang.typescript" }, -- { import = "lazyvim.plugins.extras.lang.json" }, + { import = "lazyvim.plugins.extras.ui.mini-animate" }, }, defaults = { -- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup. @@ -32,9 +33,9 @@ require("lazy").setup({ -- disable some rtp plugins disabled_plugins = { "gzip", - "matchit", - "matchparen", - "netrwPlugin", + -- "matchit", + -- "matchparen", + -- "netrwPlugin", "tarPlugin", "tohtml", "tutor",