[nvim] pull latest from starter
This commit is contained in:
parent
eb8ae80f8f
commit
299dcc6055
@ -1,45 +1,4 @@
|
|||||||
# LazyVim
|
# 💤 LazyVim
|
||||||
|
|
||||||
A starter template for [LazyVim](https://github.com/LazyVim/LazyVim)
|
A starter template for [LazyVim](https://github.com/LazyVim/LazyVim).
|
||||||
|
Refer to the [documentation](https://lazyvim.github.io/installation) to get started.
|
||||||
## 🚀 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
|
|
||||||
|
|
||||||
<pre>
|
|
||||||
~/.config/nvim
|
|
||||||
├── lua
|
|
||||||
│ ├── config
|
|
||||||
│ │ ├── autocmds.lua
|
|
||||||
│ │ ├── keymaps.lua
|
|
||||||
│ │ ├── lazy.lua
|
|
||||||
│ │ └── options.lua
|
|
||||||
│ └── plugins
|
|
||||||
│ └── example.lua
|
|
||||||
├── init.lua
|
|
||||||
└── stylua.toml
|
|
||||||
</pre>
|
|
||||||
|
|||||||
@ -8,13 +8,14 @@ vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
|
|||||||
|
|
||||||
require("lazy").setup({
|
require("lazy").setup({
|
||||||
spec = {
|
spec = {
|
||||||
-- import LazyVim plugins
|
-- add LazyVim and import its plugins
|
||||||
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
|
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
|
||||||
-- import/override with your plugins
|
-- import/override with your plugins
|
||||||
{ import = "plugins" },
|
{ import = "plugins" },
|
||||||
-- import any extras modules here
|
-- import any extras modules here
|
||||||
-- { import = "lazyvim.plugins.extras.lang.typescript" },
|
-- { import = "lazyvim.plugins.extras.lang.typescript" },
|
||||||
-- { import = "lazyvim.plugins.extras.lang.json" },
|
-- { import = "lazyvim.plugins.extras.lang.json" },
|
||||||
|
{ import = "lazyvim.plugins.extras.ui.mini-animate" },
|
||||||
},
|
},
|
||||||
defaults = {
|
defaults = {
|
||||||
-- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup.
|
-- 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
|
-- disable some rtp plugins
|
||||||
disabled_plugins = {
|
disabled_plugins = {
|
||||||
"gzip",
|
"gzip",
|
||||||
"matchit",
|
-- "matchit",
|
||||||
"matchparen",
|
-- "matchparen",
|
||||||
"netrwPlugin",
|
-- "netrwPlugin",
|
||||||
"tarPlugin",
|
"tarPlugin",
|
||||||
"tohtml",
|
"tohtml",
|
||||||
"tutor",
|
"tutor",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user