chore: generated vimdoc
This commit is contained in:
@@ -112,19 +112,19 @@ g:zenbones_compat Set to `1` to turn on compatibility
|
|||||||
mode. Turned on in vim.
|
mode. Turned on in vim.
|
||||||
|
|
||||||
|
|
||||||
*zenbones-lightline*
|
LIGHTLINE ~
|
||||||
|
|
||||||
>
|
>
|
||||||
let g:lightline = {
|
let g:lightline = #{ colorscheme: 'zenbones' } " or zenflesh
|
||||||
\ 'colorscheme': 'zenbones', " or 'zenflesh'
|
|
||||||
\ }
|
|
||||||
<
|
<
|
||||||
|
|
||||||
|
|
||||||
*zenbones-lualine*
|
LUALINE ~
|
||||||
|
|
||||||
>
|
>
|
||||||
options = { theme = 'zenbones' } -- or 'zenflesh'
|
require("lualine").setup {
|
||||||
|
options = { theme = "zenbones" }, -- or zenflesh
|
||||||
|
}
|
||||||
<
|
<
|
||||||
|
|
||||||
|
|
||||||
@@ -147,32 +147,25 @@ Here’s an example of how to extend/override some highlights.
|
|||||||
`lua/customize_zenbones.lua`:
|
`lua/customize_zenbones.lua`:
|
||||||
|
|
||||||
>
|
>
|
||||||
local function customize_zenbones()
|
local lush = require "lush"
|
||||||
if vim.g.colors_name ~= "zenbones" then
|
local base = require "zenbones"
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
local lush = require "lush"
|
-- Create some specs
|
||||||
local base = require "zenbones"
|
local specs = lush.parse(function()
|
||||||
|
return {
|
||||||
-- Create some specs
|
TabLine { base.TabLine, gui = "italic" }, -- setting gui to "italic"
|
||||||
local specs = lush.parse(function()
|
}
|
||||||
return {
|
end)
|
||||||
TabLine { base.TabLine, gui = "italic" }, -- setting gui to "italic"
|
-- Apply specs using lush tool-chain
|
||||||
|
lush.apply(lush.compile(specs))
|
||||||
end)
|
|
||||||
-- Apply specs using lush tool-chain
|
|
||||||
lush.apply(lush.compile(specs))
|
|
||||||
end
|
|
||||||
|
|
||||||
return customize_zenbones
|
|
||||||
<
|
<
|
||||||
|
|
||||||
|
|
||||||
And then somewhere in your `init.vim`:
|
And then somewhere in your `init.vim`:
|
||||||
|
|
||||||
>
|
>
|
||||||
autocmd VimEnter,ColorScheme * lua require("customize_zenbones")()
|
autocmd ColorScheme zenbones lua require "customize_zenbones"
|
||||||
|
colorscheme zenbones
|
||||||
<
|
<
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user