Add Neovide options for dark mode

This commit is contained in:
Christopher Williams
2026-07-15 08:04:47 -04:00
parent e72a1db3ed
commit 7bb3cc6f29
+14 -2
View File
@@ -13,8 +13,9 @@ vim.o.foldcolumn = "1"
vim.o.foldlevel = 99
vim.o.foldlevelstart = 99
vim.o.foldenable = true
vim.o.conceallevel = 2
-- require("vim._extui").enable({})
require("vim._core.ui2").enable({})
-- Lazy plugin manager
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
@@ -44,12 +45,23 @@ require("lazy").setup({
require("plugins.obsidian"),
})
-- Set `notifications` command
vim.api.nvim_create_user_command("Notifications", function()
require("snacks").notifier.show_history()
end, { desc = "Open notifications" })
-- LSP
vim.diagnostic.config({ virtual_text = true })
vim.lsp.inlay_hint.enable(true)
-- GUI
vim.o.guifont = "JetBrainsMono Nerd Font:h12"
if vim.g.neovide then
vim.o.guifont = "JetBrainsMono Nerd Font:h12"
vim.g.neovide_theme = "dark"
vim.opt.background = "dark"
vim.cmd.colorscheme("vscode_modern")
end
require("keymap")
require("clipboard")