(note : This colorscheme plugin keeps the guibg of NORMAL as none , so neovim just takes the terminal bg color , this is very useful when you want to have a transparent background )
(Note: This colorscheme plugin keeps the `guibg` of the `NORMAL` hi group as `NONE`, so NeoVim just takes the terminal's background color, which is what you'd want to have a transparent background)
This is how I use it. Uses [`norcalli/nvim.lua`](https://github.com/norcalli/nvim.lua).
This is how I use it. Uses [`norcalli/nvim.lua`](https://github.com/norcalli/nvim.lua).
@ -35,9 +35,7 @@ base16(base16.themes[nvim.env.BASE16_THEME or "3024"], true)
EOF
EOF
```
```
You can define your own themes and use them with the `base16` function as long
You can define your own themes and use them with the `base16` function as long as they match the format described below. I know the format is annoying to define, so the `base16.theme_from_array` utility function is available.
as they match the format described below. I know the format is annoying to
define, so the `base16.theme_from_array` utility function is available.
Formats an array of 16 hex color strings into a dictionary suitable for use
Formats an array of 16 hex color strings into a dictionary suitable for use with `base16.apply_theme`.
with `base16.apply_theme`.
Example:
Example:
@ -89,10 +86,7 @@ base16.themes["zenburn"] == {
## Notes
## Notes
Because this includes a copy of
Because this includes a copy of [`norcalli/nvim.lua`](https://github.com/norcalli/nvim.lua), you should put this after `norcalli/nvim.lua` in the plugin list because lua module resolution is first-come-first-served, i.e.
[`norcalli/nvim.lua`](https://github.com/norcalli/nvim.lua), you should put
this after `norcalli/nvim.lua` in the plugin list because lua module resolution