craftzdog / solarized-osaka.nvim

🏯 A clean, dark Neovim theme written in Lua, with support for lsp, treesitter and lots of plugins.
Apache License 2.0
650 stars 29 forks source link

bug: Extras still have tokyo-night colors? #21

Closed johnstegeman closed 6 months ago

johnstegeman commented 6 months ago

Did you check docs and existing issues?

Neovim version (nvim -v)

0.9.5

Operating system/version

MacOS 14.3.1

Describe the bug

https://github.com/craftzdog/solarized-osaka.nvim/blob/main/extras/tmux/solarized-osaka_night.tmux (as an example) still seems to have the tokyo night colors in it. I see the lua function to generate a config file, but I'm not sure how to call it

Steps To Reproduce

See above

Expected Behavior

expected: tmux uses solarized-osaka colors

Repro

-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "craftzdog/solarized-osaka.nvim",
  "craftzdog/solarized-osaka.nvim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("solarized-osaka")
-- add anything else here