docs: update readme with luarocks installation

This commit is contained in:
Barrett Ruth 2026-02-03 20:48:46 -05:00
parent d3bd65a484
commit 32c1f23f90

View file

@ -1,21 +1,21 @@
# midnight.nvim
neovim theme for code, not colors.
Neovim theme for code, not colors.
![Image](https://github.com/user-attachments/assets/9abb5126-15d7-4de4-ad6d-ec35975fec03)
## Installation
Install with any package manager of your choice. For example, with
[lazy.nvim](https://github.com/folke/lazy.nvim):
Install using your package manager of choice or via [luarocks](https://luarocks.org/modules/barrettruth/midnight.nvim):
```
luarocks install midnight.nvim
```
Then set the colorscheme:
```lua
{
'barrettruth/midnight.nvim',
config = function()
vim.cmd.colorscheme('midnight')
end,
}
```
## Plugin Integration