Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

docs: add setup for Lazy #42

Merged
merged 1 commit into from
Oct 3, 2023
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
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,25 @@ Install the theme with your preferred package manager:
use 'gbprod/nord.nvim'
```

[lazy](https://github.com/folke/lazy.nvim)

```lua
require("lazy").setup({
{
"gbprod/nord.nvim",
lazy = false,
priority = 1000,
config = function()
require("nord").setup({})
vim.cmd.colorscheme("nord")
end,
},
install = {
colorscheme = { "nord" },
},
});
```

## 🚀 Usage

Enable the colorscheme:
Expand All @@ -68,7 +87,7 @@ colorscheme nord

```lua
-- Lua
vim.cmd[[colorscheme nord]]
vim.cmd.colorscheme("nord")
```

## ⚙️ Configuration
Expand Down