separate docs file and auto-generation
This commit is contained in:
1
.github/workflows/doc.yml
vendored
1
.github/workflows/doc.yml
vendored
@@ -28,6 +28,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
# Output vimdoc project name
|
# Output vimdoc project name
|
||||||
vimdoc: zenbones
|
vimdoc: zenbones
|
||||||
|
pandoc: doc/zenbones.md
|
||||||
description: "A contrast-focused vim/neovim colorscheme"
|
description: "A contrast-focused vim/neovim colorscheme"
|
||||||
version: "Vim v8.1 / Neovim 0.5.0"
|
version: "Vim v8.1 / Neovim 0.5.0"
|
||||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
|
|||||||
57
README.md
57
README.md
@@ -4,16 +4,12 @@ Zenbones is a vim/neovim colorscheme designed to highlight code using contrasts
|
|||||||
and font variations. Colors are tasked only for other roles such as diagnostics,
|
and font variations. Colors are tasked only for other roles such as diagnostics,
|
||||||
diffs, search matches.
|
diffs, search matches.
|
||||||
|
|
||||||
<!-- panvimdoc-ignore-start -->
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<em>A rock garden in <a href="https://en.wikipedia.org/wiki/Ry%C5%8Dan-ji">Ryōan-ji</a>.</em>
|
<em>A rock garden in <a href="https://en.wikipedia.org/wiki/Ry%C5%8Dan-ji">Ryōan-ji</a>.</em>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<!-- panvimdoc-ignore-end -->
|
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
Primarily built for neovim but it works pretty well with vim. However here are
|
Primarily built for neovim but it works pretty well with vim. However here are
|
||||||
@@ -54,67 +50,20 @@ colorscheme zenbones-lush
|
|||||||
colorscheme zenflesh-lush
|
colorscheme zenflesh-lush
|
||||||
```
|
```
|
||||||
|
|
||||||
It works pretty much the same as the first one but pretty handy when extending
|
## Configuration and other documentations
|
||||||
or customizing the colors to your likings.
|
|
||||||
|
|
||||||
## Configuration
|
See [doc](doc/zenbones.md).
|
||||||
|
|
||||||
Configuration is only available for `zenbones-lush` and `zenflesh-lush`.
|
## Showcase
|
||||||
|
|
||||||
#### g:zenbones_lightness
|
|
||||||
|
|
||||||
Change background colors lightness.
|
|
||||||
|
|
||||||
| 'bright' | _(unset)_ | 'dim' |
|
| 'bright' | _(unset)_ | 'dim' |
|
||||||
| :-----------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------: |
|
| :-----------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------: |
|
||||||
|  |  |  |
|
|  |  |  |
|
||||||
|
|
||||||
#### g:zenflesh_darkness
|
|
||||||
|
|
||||||
Change background colors darkness.
|
|
||||||
|
|
||||||
| 'stark' | _(unset)_ | 'warm' |
|
| 'stark' | _(unset)_ | 'warm' |
|
||||||
| :---------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------: |
|
| :---------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------: |
|
||||||
|  |  |  |
|
|  |  |  |
|
||||||
|
|
||||||
#### g:zenbones_solid_vert_split
|
|
||||||
|
|
||||||
#### g:zenflesh_solid_vert_split
|
|
||||||
|
|
||||||
Set to `v:true` to make vertical split more distinguishable background
|
|
||||||
highlight.
|
|
||||||
|
|
||||||
#### g:zenbones_dim_noncurrent_window
|
|
||||||
|
|
||||||
Set to `v:true` to make non-current window background dimmer than _Normal_.
|
|
||||||
|
|
||||||
#### g:zenflesh_lighten_noncurrent_window
|
|
||||||
|
|
||||||
Set to `v:true` to make non-current window background warmer than _Normal_.
|
|
||||||
|
|
||||||
#### g:zenbones_italic_comments
|
|
||||||
|
|
||||||
#### g:zenflesh_italic_comments
|
|
||||||
|
|
||||||
Set to `v:false` to make comments not italicize.
|
|
||||||
|
|
||||||
## Advanced Usage
|
|
||||||
|
|
||||||
Zenbones is pretty extensible thanks to Lush. You can easily retrieve the colors
|
|
||||||
in lua:
|
|
||||||
|
|
||||||
```lua
|
|
||||||
local theme = require "zenbones" -- or zenflesh
|
|
||||||
local palette = require "zenbones.palette"
|
|
||||||
|
|
||||||
print(theme.StatusLine.bg.hex)
|
|
||||||
print(palette.blossom.darken(20).hex)
|
|
||||||
```
|
|
||||||
|
|
||||||
See also
|
|
||||||
[Lush's documentation](https://github.com/rktjmp/lush.nvim#advanced-usage) for
|
|
||||||
more options.
|
|
||||||
|
|
||||||
## Other plugins support
|
## Other plugins support
|
||||||
|
|
||||||
Aside from LSP and basic Tree-sitter support, here are some plugins that are
|
Aside from LSP and basic Tree-sitter support, here are some plugins that are
|
||||||
|
|||||||
74
doc/zenbones.md
Normal file
74
doc/zenbones.md
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
Zenbones is a vim/neovim colorscheme designed to highlight code using contrasts
|
||||||
|
and font variations. Colors are tasked only for other roles such as diagnostics,
|
||||||
|
|
||||||
|
diffs, search matches.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Just apply the colorscheme as usual:
|
||||||
|
|
||||||
|
```vim
|
||||||
|
colorscheme zenbones " light
|
||||||
|
colorscheme zenflesh " dark
|
||||||
|
```
|
||||||
|
|
||||||
|
If you want to make use of the lua version:
|
||||||
|
|
||||||
|
```vim
|
||||||
|
" Requires `neovim` and `rktjmp/lush.nvim` installed
|
||||||
|
colorscheme zenbones-lush
|
||||||
|
colorscheme zenflesh-lush
|
||||||
|
```
|
||||||
|
|
||||||
|
It works pretty much the same as the first one but pretty handy when extending
|
||||||
|
or customizing the colors to your likings.
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
Configuration is only available for `zenbones-lush` and `zenflesh-lush`.
|
||||||
|
|
||||||
|
#### g:zenbones_lightness
|
||||||
|
|
||||||
|
Change background colors lightness. Options: `'bright'`, `'dim'`.
|
||||||
|
|
||||||
|
#### g:zenflesh_darkness
|
||||||
|
|
||||||
|
Change background colors darkness. Options: `'stark'`, `'warm'`.
|
||||||
|
|
||||||
|
#### g:zenbones_solid_vert_split
|
||||||
|
|
||||||
|
#### g:zenflesh_solid_vert_split
|
||||||
|
|
||||||
|
Default: `v:false` Make vertical split more distinguishable background
|
||||||
|
highlight.
|
||||||
|
|
||||||
|
#### g:zenbones_dim_noncurrent_window
|
||||||
|
|
||||||
|
Default: `v:false` Make non-current window background dimmer than _Normal_.
|
||||||
|
|
||||||
|
#### g:zenflesh_lighten_noncurrent_window
|
||||||
|
|
||||||
|
Default: `v:false` Make non-current window background warmer than _Normal_.
|
||||||
|
|
||||||
|
#### g:zenbones_italic_comments
|
||||||
|
|
||||||
|
#### g:zenflesh_italic_comments
|
||||||
|
|
||||||
|
Default: `v:true` Make comments not italicize.
|
||||||
|
|
||||||
|
## Advanced Usage
|
||||||
|
|
||||||
|
Zenbones is pretty extensible thanks to Lush. You can easily retrieve the colors
|
||||||
|
in lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
local theme = require "zenbones" -- or zenflesh
|
||||||
|
local palette = require "zenbones.palette"
|
||||||
|
|
||||||
|
print(theme.StatusLine.bg.hex)
|
||||||
|
print(palette.blossom.darken(20).hex)
|
||||||
|
```
|
||||||
|
|
||||||
|
See also
|
||||||
|
[Lush's documentation](https://github.com/rktjmp/lush.nvim#advanced-usage) for
|
||||||
|
more options.
|
||||||
Reference in New Issue
Block a user