docs: update readme with luarocks installation
This commit is contained in:
parent
d3bd65a484
commit
32c1f23f90
1 changed files with 9 additions and 9 deletions
18
README.md
18
README.md
|
|
@ -1,21 +1,21 @@
|
||||||
# midnight.nvim
|
# midnight.nvim
|
||||||
|
|
||||||
neovim theme for code, not colors.
|
Neovim theme for code, not colors.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Install with any package manager of your choice. For example, with
|
Install using your package manager of choice or via [luarocks](https://luarocks.org/modules/barrettruth/midnight.nvim):
|
||||||
[lazy.nvim](https://github.com/folke/lazy.nvim):
|
|
||||||
|
```
|
||||||
|
luarocks install midnight.nvim
|
||||||
|
```
|
||||||
|
|
||||||
|
Then set the colorscheme:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
{
|
vim.cmd.colorscheme('midnight')
|
||||||
'barrettruth/midnight.nvim',
|
|
||||||
config = function()
|
|
||||||
vim.cmd.colorscheme('midnight')
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Plugin Integration
|
## Plugin Integration
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue