Merge pull request #22 from mcchrish/bot/vimdoc/main

chore: generated vimdoc
This commit is contained in:
Michael Chris Lopez
2021-10-29 07:54:26 +08:00
committed by GitHub

View File

@@ -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,11 +147,6 @@ Heres an example of how to extend/override some highlights.
`lua/customize_zenbones.lua`: `lua/customize_zenbones.lua`:
> >
local function customize_zenbones()
if vim.g.colors_name ~= "zenbones" then
return
end
local lush = require "lush" local lush = require "lush"
local base = require "zenbones" local base = require "zenbones"
@@ -159,20 +154,18 @@ Heres an example of how to extend/override some highlights.
local specs = lush.parse(function() local specs = lush.parse(function()
return { return {
TabLine { base.TabLine, gui = "italic" }, -- setting gui to "italic" TabLine { base.TabLine, gui = "italic" }, -- setting gui to "italic"
}
end) end)
-- Apply specs using lush tool-chain -- Apply specs using lush tool-chain
lush.apply(lush.compile(specs)) 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
< <