summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorSteven Le Rouzic <slerouzic@siradel.com>2023-04-05 17:29:04 +0200
committerSteven Le Rouzic <slerouzic@siradel.com>2023-04-05 17:29:04 +0200
commit3a53259185d3ab2f57d78c561760cef5eeee16a0 (patch)
treea18fd737df8c6ba9ed5adef7c6de434685b4b12e /lua
parente2e854fd1de9761f5f00c027f113f2065b4771d6 (diff)
stuff
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