dotfiles/.config/nvim/lua/plugins/catppuccin.lua

42 lines
1 KiB
Lua
Raw Normal View History

2022-12-09 10:52:00 +00:00
--local colorscheme = "onedark"
require("catppuccin").setup({
flavour = "frappe", -- latte, frappe, macchiato, mocha
styles = {
comments = { "italic" },
conditionals = { "italic" },
},
integrations = {
cmp = true,
treesitter = true,
treesitter_context = true,
fidget = true,
2022-12-09 10:52:00 +00:00
telescope = true,
leap = true,
mason = true,
native_lsp = {
enabled = true,
virtual_text = {
errors = { "italic" },
hints = { "italic" },
warnings = { "italic" },
information = { "italic" },
},
underlines = {
errors = { "underline" },
hints = { "underline" },
warnings = { "underline" },
information = { "underline" },
},
},
2022-12-09 10:52:00 +00:00
},
})
local colorscheme = "catppuccin"
2022-10-19 00:47:07 +01:00
local status_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme)
if not status_ok then
return
2022-10-19 00:47:07 +01:00
end