summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/my_theme.lua (renamed from lua/theme.lua)9
1 files changed, 8 insertions, 1 deletions
diff --git a/lua/theme.lua b/lua/my_theme.lua
index edc5a4b..f879e0c 100644
--- a/lua/theme.lua
+++ b/lua/my_theme.lua
@@ -19,6 +19,13 @@ require("lualine").setup({
},
})
-vim.o.guifont = "Cascadia Mono:h12"
+vim.o.guifont = "Cascadia Mono:h11"
vim.o.linespace = 0
+my_switch_theme = function()
+ if vim.o.background == "dark" then
+ require("vscode").load("light")
+ else
+ require("vscode").load("dark")
+ end
+end