You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
537 B
18 lines
537 B
-- Colorscheme configuration |
|
-- local colorscheme = "github_dark_default" |
|
-- local colorscheme = "defaultplus" |
|
-- local colorscheme = "default" |
|
-- local colorscheme = "kanagawa-lotus" |
|
local colorscheme = "tokyonight" |
|
|
|
-- Function to safely set colorscheme |
|
local function set_colorscheme(name) |
|
local status_ok, _ = pcall(vim.cmd.colorscheme, name) |
|
if not status_ok then |
|
vim.notify("Colorscheme '" .. name .. "' not found! Using default.") |
|
vim.cmd.colorscheme("default") |
|
end |
|
end |
|
|
|
-- Set the colorscheme |
|
set_colorscheme(colorscheme)
|
|
|