Skip to content

Commit

Permalink
fix(keymap): toggle dark/light
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed Apr 12, 2024
1 parent 8377fd8 commit 21d554e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lua/config/keymap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,8 @@ nmap('L', '<cmd>tabnext<cr>')
local function toggle_light_dark_theme()
if vim.o.background == 'light' then
vim.o.background = 'dark'
vim.cmd [[Catppuccin mocha]]
else
vim.o.background = 'light'
vim.cmd [[Catppuccin latte]]
end
end

Expand Down

0 comments on commit 21d554e

Please sign in to comment.