docs: requires() -> require() (#184)
This commit is contained in:
parent
111a00b98d
commit
6dfdfcbeea
@ -177,7 +177,7 @@ You can easily use the color palette for other plugins inside your Neovim config
|
|||||||
|
|
||||||
```lua
|
```lua
|
||||||
local colors = require("tokyonight.colors").setup({}) -- pass in any of the config options as explained above
|
local colors = require("tokyonight.colors").setup({}) -- pass in any of the config options as explained above
|
||||||
local utils = requires("tokyonight.util")
|
local utils = require("tokyonight.util")
|
||||||
|
|
||||||
aplugin.background = colors.bg_dark
|
aplugin.background = colors.bg_dark
|
||||||
aplugin.my_error = util.brighten(colors.red1, 0.3)
|
aplugin.my_error = util.brighten(colors.red1, 0.3)
|
||||||
|
Loading…
Reference in New Issue
Block a user