Merge pull request #22 from mcchrish/bot/vimdoc/main
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.
|
||||
|
||||
|
||||
*zenbones-lightline*
|
||||
LIGHTLINE ~
|
||||
|
||||
>
|
||||
let g:lightline = {
|
||||
\ 'colorscheme': 'zenbones', " or 'zenflesh'
|
||||
\ }
|
||||
let g:lightline = #{ 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`:
|
||||
|
||||
>
|
||||
local function customize_zenbones()
|
||||
if vim.g.colors_name ~= "zenbones" then
|
||||
return
|
||||
end
|
||||
local lush = require "lush"
|
||||
local base = require "zenbones"
|
||||
|
||||
local lush = require "lush"
|
||||
local base = require "zenbones"
|
||||
|
||||
-- Create some specs
|
||||
local specs = lush.parse(function()
|
||||
return {
|
||||
TabLine { base.TabLine, gui = "italic" }, -- setting gui to "italic"
|
||||
|
||||
end)
|
||||
-- Apply specs using lush tool-chain
|
||||
lush.apply(lush.compile(specs))
|
||||
end
|
||||
|
||||
return customize_zenbones
|
||||
-- Create some specs
|
||||
local specs = lush.parse(function()
|
||||
return {
|
||||
TabLine { base.TabLine, gui = "italic" }, -- setting gui to "italic"
|
||||
}
|
||||
end)
|
||||
-- Apply specs using lush tool-chain
|
||||
lush.apply(lush.compile(specs))
|
||||
<
|
||||
|
||||
|
||||
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