Skip to content

Commit e4b8f93

Browse files
committed
Migrate to vim.pack
1 parent e099979 commit e4b8f93

11 files changed

Lines changed: 774 additions & 921 deletions

File tree

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ nvim
66
spell/
77

88
# In your personal fork, you likely want to comment this, since it's recommended to track
9-
# lazy-lock.json in version control - see https://lazy.folke.io/usage/lockfile
9+
# nvim-pack-lock.json in version control - see :help vim.pack-lockfile
1010
# For the official `nvim-lua/kickstart.nvim` git repository, we leave it ignored to avoid unneeded
1111
# merge conflicts.
12-
lazy-lock.json
12+
nvim-pack-lock.json
1313

1414
.DS_Store

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ fork to your machine using one of the commands below, depending on your OS.
6969
> Your fork's URL will be something like this:
7070
> `https://github.com/<your_github_username>/kickstart.nvim.git`
7171
72-
You likely want to remove `lazy-lock.json` from your fork's `.gitignore` file
73-
too - it's ignored in the kickstart repo to make maintenance easier, but it's
74-
[recommended to track it in version control](https://lazy.folke.io/usage/lockfile).
72+
You likely want to remove `nvim-pack-lock.json` from your fork's `.gitignore`
73+
file too - it's ignored in the kickstart repo to make maintenance easier, but
74+
it's recommended to track it in version control (see `:help vim.pack-lockfile`).
7575

7676
#### Clone kickstart.nvim
7777

@@ -111,8 +111,9 @@ Start Neovim
111111
nvim
112112
```
113113

114-
That's it! Lazy will install all the plugins you have. Use `:Lazy` to view
115-
the current plugin status. Hit `q` to close the window.
114+
That's it! `vim.pack` will install all the plugins from your config. Use
115+
`:lua vim.pack.update(nil, { offline = true })` to inspect plugin state and
116+
`:lua vim.pack.update()` to fetch updates.
116117

117118
#### Read The Friendly Documentation
118119

@@ -146,7 +147,8 @@ examples of adding popularly requested plugins.
146147
`~/.local/share/nvim-kickstart`. You can apply this approach to any Neovim
147148
distribution that you would like to try out.
148149
* What if I want to "uninstall" this configuration:
149-
* See [lazy.nvim uninstall](https://lazy.folke.io/usage#-uninstalling) information
150+
* Remove your config directory and local data directory (for example,
151+
`~/.config/nvim` and `~/.local/share/nvim`).
150152
* Why is the kickstart `init.lua` a single file? Wouldn't it make sense to split it into multiple files?
151153
* The main purpose of kickstart is to serve as a teaching tool and a reference
152154
configuration that someone can easily use to `git clone` as a basis for their own.

0 commit comments

Comments
 (0)