Skip to content

Commit

Permalink
feat: update theme
Browse files Browse the repository at this point in the history
  • Loading branch information
TwIStOy committed Mar 26, 2024
1 parent 037b8aa commit 4791ea9
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/dotvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ function M.setup(opts)
"dotvim.packages.editor",
"dotvim.packages.ui",
"dotvim.packages.tools",
"dotvim.packages.bamboo",
}

if vim.uv.os_uname() == "Darwin" then
Expand Down Expand Up @@ -139,7 +140,7 @@ function M.setup(opts)
dora.setup(opts)

if not vim.g.vscode then
vim.cmd("colorscheme catppuccin")
require("bamboo").load()
end
end

Expand Down
35 changes: 35 additions & 0 deletions lua/dotvim/packages/bamboo.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---@type dora.core.package.PackageOption
return {
name = "dotvim.packages.bamboo",
deps = {
"dora.packages._builtin",
},
plugins = {
{
"ribru17/bamboo.nvim",
lazy = false,
priority = 1000,
opts = {
cmp_itemkind_reverse = true,
code_style = {
comments = { italic = true },
conditionals = { italic = true },
namespace = { italic = true },
},
highlights = {
["@lsp.typemod.variable.mutable.rust"] = { fmt = "underline" },
["@lsp.typemod.selfKeyword.mutable.rust"] = { fmt = "underline" },
["@variable.builtin"] = { fmt = "italic" },
},
lualine = {
transparent = false,
},
diagnostics = {
darker = false,
undercurl = true,
background = true,
},
},
},
},
}

0 comments on commit 4791ea9

Please sign in to comment.