Skip to content

Commit

Permalink
fix(nvim): lualine theme was broken on direct file open
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarter committed Jul 3, 2024
1 parent b197729 commit 646c085
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions config/nvim/lua/plugins/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -303,14 +303,10 @@ require('lazy').setup({
'folke/tokyonight.nvim',
lazy = false, -- make sure we load this during startup
priority = 1000, -- make sure to load this before all the other start plugins
config = function()
require('tokyonight').setup {
style = 'moon',
transparent = true,
}

vim.cmd.colorscheme 'tokyonight-moon'
end,
opts = {
style = 'moon',
transparent = true,
},
},

-- automatically set color scheme based on system
Expand Down
2 changes: 1 addition & 1 deletion config/nvim/lua/plugins/lualine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ M.setup = function()
},
},
options = {
-- theme = theme,
theme = 'tokyonight-moon',
component_separators = '',
section_separators = { left = '', right = '' },
disabled_filetypes = {
Expand Down

0 comments on commit 646c085

Please sign in to comment.