Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
feat: set up catpuccin
Browse files Browse the repository at this point in the history
  • Loading branch information
nexxeln committed Dec 13, 2022
1 parent f97034a commit 9afa583
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 18 deletions.
3 changes: 3 additions & 0 deletions after/plugin/fidget.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ fidget.setup({
ignore = true,
},
},
window = {
blend = 0,
},
})
2 changes: 1 addition & 1 deletion after/plugin/lualine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ end

lualine.setup({
options = {
-- theme = "kanagawa",
theme = "catppuccin",
icons_enabled = true,
section_separators = { left = "", right = "" },
component_separators = { left = "", right = "" },
Expand Down
37 changes: 21 additions & 16 deletions lua/colorscheme.lua
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
local kanagawa_present, kanagawa = pcall(require, "kanagawa")
-- local kanagawa_present, kanagawa = pcall(require, "kanagawa")
--
-- if not kanagawa_present then
-- return
-- end
--
-- kanagawa.setup({
-- commentStyle = { italic = false },
-- keywordStyle = { italic = false },
-- variablebuiltinStyle = { italic = false },
-- transparent = false,
-- })

local catppuccin_present, catppuccin = pcall(require, "catppuccin")

if not kanagawa_present then
if not catppuccin_present then
return
end

kanagawa.setup({
commentStyle = { italic = false },
keywordStyle = { italic = false },
variablebuiltinStyle = { italic = false },
transparent = true,
catppuccin.setup({
integrations = {
fidget = true,
hop = true,
},
})

vim.cmd("colorscheme kanagawa")

-- local no_clown_present, no_clown_fiesta = pcall(require, "no-clown-fiesta")
--
-- if not no_clown_present then
-- return
-- end
--
-- no_clown_fiesta.setup({})
vim.cmd.colorscheme("catppuccin-mocha")
2 changes: 1 addition & 1 deletion lua/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ return require("packer").startup({

-- color schemes
use("rebelot/kanagawa.nvim")
use("aktersnurra/no-clown-fiesta.nvim")
use({ "catppuccin/nvim", as = "catppuccin" })

-- treesitter
use({
Expand Down
6 changes: 6 additions & 0 deletions plugin/lspsaga.lua
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
local map = vim.keymap.set
local present, saga = pcall(require, "lspsaga")
local catppuccin_present, catppuccin = pcall(require, "catppuccin.groups.integrations.lsp_saga")

if not present then
return
end

if not catppuccin_present then
return
end

saga.init_lsp_saga({
border_style = "rounded",
symbol_in_winbar = {
enable = false,
},
custom_kind = catppuccin.custom_kind(),
})

-- Lsp finder find the symbol definition implement reference
Expand Down

0 comments on commit 9afa583

Please sign in to comment.