nvim/lua/user/colorscheme.lua

32 lines
854 B
Lua
Raw Normal View History

2022-10-14 17:19:21 -04:00
--vim.cmd [[colorscheme catppuccin]]
2022-10-16 14:18:21 -04:00
--TokyonNight
2022-10-14 17:19:21 -04:00
--local colorscheme = "tokyonight-night"
2022-10-16 14:18:21 -04:00
--Catppuccin
2022-10-14 17:19:21 -04:00
vim.g.catppuccin_flavour = "mocha" -- latte, frappe, macchiato, mocha
local colorscheme = "catppuccin"
require("catppuccin").setup({
-- integrations = {
-- treesitter_context = true,
-- fidget = false,
-- },
custom_highlights = function(colors)
return {
2022-11-27 09:12:47 -05:00
TreesitterContext = { bg = colors.surface0 },
TreesitterContextLineNumber = { bg = colors.surface0 },
-- TreesitterContextBottom = { style = { "underline" } },
MultiCursor = { bg = colors.red },
VM_Cursor = { bg = colors.red },
}
end
})
2022-10-12 22:07:20 -04:00
2022-10-16 14:18:21 -04:00
--DarkPlus
--local colorscheme = "darkplus"
2022-10-12 22:07:20 -04:00
local status_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme)
if not status_ok then
return
end