docs: requires() -> require() (#184)

This commit is contained in:
abxh
2022-09-02 07:57:31 +02:00
committed by GitHub
parent 111a00b98d
commit 6dfdfcbeea

View File

@@ -177,7 +177,7 @@ You can easily use the color palette for other plugins inside your Neovim config
```lua
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.my_error = util.brighten(colors.red1, 0.3)