mirror of
https://github.com/craftzdog/solarized-osaka.nvim.git
synced 2026-09-10 07:16:21 -04:00
feat(lightline): change lightline theme to osaka on setup
This commit is contained in:
parent
5791e490ee
commit
83958cd5cc
|
|
@ -133,13 +133,6 @@ require("solarized-osaka").setup({
|
|||
})
|
||||
```
|
||||
|
||||
### Setting [lightline](https://github.com/itchyny/lightline.vim) colorscheme
|
||||
|
||||
```lua
|
||||
-- vimscript requires it to be snake_case
|
||||
vim.g.lightline = { colorscheme = "solarized_osaka" }
|
||||
```
|
||||
|
||||
### [Borderless Telescope](https://github.com/nvim-telescope/telescope.nvim/wiki/Gallery#borderless) example
|
||||
|
||||
```lua
|
||||
|
|
|
|||
|
|
@ -7,6 +7,10 @@ function M.setup()
|
|||
local opts = require("solarized-osaka.config")
|
||||
local groups = require("solarized-osaka.groups").setup(colors, opts.options)
|
||||
|
||||
if vim.g.loaded_lightline then
|
||||
vim.g.lightline = { colorscheme = "solarized_osaka" }
|
||||
end
|
||||
|
||||
if vim.g.colors_name then
|
||||
vim.cmd("hi clear")
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue