Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,15 @@ It is undoubtedly the case that `lean.nvim` would not be as featureful without t

## Installation

`lean.nvim` can be installed via your favorite plugin manager.
If you are using neovim 0.12 or later, you can install and configure `lean.nvim` using
```lua
vim.pack.add({ "https://github.com/Julian/lean.nvim" })

require("lean").setup({ mappings = true })
```
(see [the manual](https://github.com/Julian/lean.nvim/wiki/The-lean.nvim-Manual#key-mappings) for information about the `{ mappings = true }` part).

If you are using an older neovim, or do not wish to use `vim.pack`, `lean.nvim` can be installed via your favorite plugin manager.
Here's an example doing so with [lazy.nvim](https://github.com/folke/lazy.nvim):

```lua
Expand Down
Loading